Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create video playback streaming. #2

Open
adamelso opened this issue Oct 31, 2014 · 1 comment
Open

Create video playback streaming. #2

adamelso opened this issue Oct 31, 2014 · 1 comment

Comments

@adamelso
Copy link
Member

A new command has been added to allow an MP4 video to be streamed to an Apple TV, but is a quick proof of concept. Before exposing this as part of the utility, some client wrappers will need to be created. Also investigate how to make it work with Guzzle.

https://github.com/archfizz/phpairplay/blob/master/src/ArchFizz/PhpAirPlay/PlayVideoCommand.php

Also check if it's possible to use GuzzleHttp\Ring\Client\StreamHandler to create a socket connection.

http://ringphp.readthedocs.org/en/latest/client_handlers.html

Also relevant

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332

@adamelso adamelso added this to the Complete AirPlay Implemenation milestone Nov 8, 2014
@adamelso
Copy link
Member Author

In order to implement this feature, a reverse HTTP server needs to be listening to requests sent by the Apple TV. This could be done by the React PHP library reactphp/reactphp#314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant