Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

HLS streaming doesn't work on tvOS
Started by david79 Jun 27 2016 01:19 AM

2 replies to this topic
hls video streaming tvos
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

david79

[GLOBAL: userInfoPane.html]
david79
  • Observer

  • 20 posts
  • Corona SDK

local url = "https://tungsten.aaplimg.com/VOD/bipbop_adv_example_v2/master.m3u8" -- Apple tvos compatible sample feed  
media.playVideo( url, media.RemoteSource, false, onComplete ) -- this crashes
 
 


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,064 posts
  • Enterprise

Corona's various media API's do not support streaming protocols. There are two types of streaming:

 

1. Start playing a fixed length file before you download/read the whole thing.

2. Start playing a media stream that has no end.

 

These are radically different things. Currently Corona's various API's that "stream" are of the #1 type. We do not support the 2nd type. If you would like us to, the best thing you can do is go to http://feedback.coronalabs.com and look to see if there is an existing feature request and vote for it. If there isn't one start a new one and get people to vote on it.

 

Rob



[TOPIC: post.html]
#3

david79

[GLOBAL: userInfoPane.html]
david79
  • Observer

  • 20 posts
  • Corona SDK

Actually any kind of call to media.playVideo( url, media.RemoteSource, false, onComplete ) seems to crash, including mp4s and (fixed size) HLS files that work on iOS.

 

The feature request is here : http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/15026610-support-media-playvideo-with-remotesource-on-tvos 




[topic_controls]
[/topic_controls]