apocolipse / moonlight-ios

GameStream client for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Moonlight iOS

Now available on the App Store

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.

Building

Initialize all submodules

git submodule update --init --recursive

Then build with Xcode

Apple TV Note:

Moonlight iOS now also works on tvOS with some limitations. Support is unofficial since the API's required are private, this means that currently Moonlight iOS cannot be deployed to the tvOS AppStore. It can, however, be sideloaded provided you have your own Apple Developer account. In order to build, first follow the steps above to initialize submodules. Then open the appropriate header as root (with editor of choice)

$> sudo nano /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h

Change lines 41 and 46 and comment out __TVOS_PROHIBITED (Note: line numbers may change with different SDK versions. Ensure to add the trailing semicolon on line 41)

} NS_AVAILABLE(10_10, 8_0); // __TVOS_PROHIBITED;

AVF_EXPORT NSString *const AVSampleBufferDisplayLayerFailedToDecodeNotification NS_AVAILABLE(10_10, 8_0) __TVOS_PROHIBITED; // decode failed, see NSError in notification payload
AVF_EXPORT NSString *const AVSampleBufferDisplayLayerFailedToDecodeNotificationErrorKey NS_AVAILABLE(10_10, 8_0) __TVOS_PROHIBITED; // NSError

NS_CLASS_AVAILABLE(10_8, 8_0) // __TVOS_PROHIBITED

After this is done, Open Moonlight.xcodeproj, set target to Moonlight tvOS, and build. A USB-C cable is required to sideload to Apple TV.

Questions?

Check out our wiki.

About

GameStream client for iOS

License:GNU General Public License v3.0


Languages

Language:C 75.9%Language:Objective-C 18.0%Language:C++ 5.1%Language:Shell 0.6%Language:Swift 0.5%