[TIMOB-2808] iOS: expose allowsAirPlay property of MPMoviePlayerController
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-15T03:30:06.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-14 |
Components | iOS |
Labels | feature, ios, klist, release-1.7.0, rplist |
Reporter | Dawson Toth |
Assignee | Ralf Pfeiffer |
Created | 2011-04-15T03:30:05.000+0000 |
Updated | 2017-03-20T16:59:52.000+0000 |
Description
Feature
Expose the allowsAirPlay property of MPMoviePlayerController through Titanium.Media.createVideoPlayer so that we can stream video and audio to Apple TV.
Customer Notes
There have been changes made to the MPMoviePlayerController object within iOS adding the property allowsAirPlay. This property allows videos to be played over airplay.
I have tested 1.4.2 and can verify that a Titanium.Media.createVideoPlayer object will send audio to an Apple TV. [But it will not send video without the property being exposed.]
I was hoping that this new feature could be exposed since they note: "You must explicitly opt-in to AirPlay playback for any movie players you create. The allowsAirPlay property of MPMoviePlayerController is set to NO by default."
Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/65801">http://developer.appcelerator.com/helpdesk/view/65801
Exposing allowsAirPlay for audio (not just Video ) would be nice too. i.e. Ti.Media.createAudioPlayer()
Feature request: http://developer.appcelerator.com/helpdesk/view/69321">http://developer.appcelerator.com/helpdesk/view/69321
(from [9a8723b49c16a4bc5f294ffef95f74231190fdf9]) [#2808 state:fixed-in-qa] Expose 'allowsAirPlay' property on Ti.Media.VideoPlayer in iOS. https://github.com/appcelerator/titanium_mobile/commit/9a8723b49c16a4bc5f294ffef95f74231190fdf9"> https://github.com/appcelerator/titanium_mobile/commit/9a8723b49c16...
Can AirPlay also be supported for AudioPlayers?
I was excited to find this. I gave it a shot and it looked like it was going to work. I received the video icon on my device (instead of just the audio icon) but when I clicked it appleTV tried to play it but then said "An Error occurred loading this content. Try again later" Not sure if I'm doing something wrong but I believe I followed all the necessary steps. Hope this helps.
Any updates here? Titanium still don't support airplay yet.
Sorry about false alarm - I just tested it again with 1.8.1RC1 Airplay support works great. Thank you
Closing ticket as fixed.