Giter Site home page Giter Site logo

bendodson / moonlight-tvos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kevsmithpublic/moonlight-ios

42.0 10.0 7.0 121.61 MB

GameStream client for tvOS

License: GNU General Public License v3.0

Shell 0.55% Objective-C 15.88% C 68.86% Swift 0.12% C++ 14.58%

moonlight-tvos's Introduction

#Moonlight tvOS

Moonlight is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for iOS. Moonlight iOS allows you to stream your full collection of Steam games from your powerful desktop computer to your iOS Device.

There are also versions for Android and PC.

This is a quick and VERY dirty port of the code to get it up and running on the Apple TV 4.

You can find out more on my website at https://bendodson.com/weblog/2016/08/11/moonlight-tvos/.

Demos


GTA V
Mame AppleTV

Dirt 4
Mame AppleTV

Compiling

Xcode 7.2 (tvOS 9.1)

  • Set Build Target for Moonlight tvOS/generic tvOS Device (or real Apple TV)

  • Fix any issues with profiles using the "Fix issues button"

  • You will receive 3 compilation issues due to the following not being available in tvOS

AVQueuedSampleBufferRenderingStatusFailed, AVSampleBufferDisplayLayer

How to work around this issue

  • Look at the 3 errors, expand the first error to show the grey exclamation mark

  • Click the grey exclamation mark to take you directly to the API definition located in AVSampleBufferDisplayLayer.h

We need to change permissions of the Headers directory to make the alterations to compile the code

You can do this via

  • right click AVSampleBufferDisplayLayer.h and show in Finder and navigate up one directory to Headers

  • Or goto Finder and go to the directory /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework

  • right click on Header and Get Info

  • Change the Sharing & Permissions so everyone has Read & Write

  • Click the padlock bottom right - enter admin password Change everyone to Read & Write Hit X top left to close window

  • Go back to Xcode and the AVSampleBufferDisplayLayer.h and change the lines

41 Remove __TVOS_PROHIBITED
46 Remove __TVOS_PROHIBITED

The project will now compile and run on your Apple TV 4 !

How to use

  • The App should show you PC when selected
  • Connect your Mifi controller before using the App
  • Select your PC via the remote controller
  • Enter the Pair code on your PC
  • You should now see all games which can be streamed
  • Select a game via remote
  • App will start
  • You should now be able to use your Mifi controller to control the game
  • Remote acts as a mouse controller, use left click on controller to left click mouse

moonlight-tvos's People

Contributors

dwaxemberg avatar cgutman avatar mzyy94 avatar kevsmithpublic avatar bendodson avatar betrisey avatar yetanothername avatar

Stargazers

brew avatar kyleduo avatar Luka Void avatar Kern Jackson avatar  avatar  avatar 2snEM6 avatar fikrihakim avatar  avatar Shaine avatar Marc Gordon avatar Omar López avatar  avatar Steve Teo avatar Tanmay avatar  avatar Joshua Moore avatar Gabriela A. Sanchez avatar  avatar Domenico Cammarota avatar  avatar Peter Zhang avatar  avatar Paul Young avatar Rick Ashford avatar Kostas Karagiannis avatar Cristian Navarrete avatar  avatar Sébastien Poivre avatar João Amaral avatar Michael Rafique-Marsh avatar Brad Dougherty avatar Joe Schmitt avatar  avatar  avatar Diego avatar Rowan H avatar  avatar Ricardo Lira avatar Aidan Fitzpatrick avatar Guillaume Dumoulin avatar Shyam avatar

Watchers

 avatar  avatar Matt Benic avatar James Cloos avatar Diego avatar  avatar Peter Zhang avatar  avatar  avatar Shaine avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.