# HLS streaming doesn't work on tvOS

**URL:** <https://forums.solar2d.com/t/hls-streaming-doesnt-work-on-tvos/340016>\
**Category:** Apple TV and tvOS\
**Created:** [June 27, 2016, 9:19am UTC](https://forums.solar2d.com/t/hls-streaming-doesnt-work-on-tvos/340016 "2016-06-27T09:19:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![david79](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/d/e274bd/32.png) [@david79](https://forums.solar2d.com/u/david79)\
**Post date:** [June 27, 2016, 9:19am UTC](https://forums.solar2d.com/t/hls-streaming-doesnt-work-on-tvos/340016/1 "2016-06-27T09:19:06Z")

</div>

local url = “[https://tungsten.aaplimg.com/VOD/bipbop\_adv\_example\_v2/master.m3u8](https://tungsten.aaplimg.com/VOD/bipbop_adv_example_v2/master.m3u8)” – Apple tvos compatible sample feed &nbsp;

media.playVideo( url, media.RemoteSource, false, onComplete ) – this crashes

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [June 27, 2016, 3:25pm UTC](https://forums.solar2d.com/t/hls-streaming-doesnt-work-on-tvos/340016/2 "2016-06-27T15:25:57Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![david79](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/d/e274bd/32.png) [@david79](https://forums.solar2d.com/u/david79)\
**Post date:** [June 29, 2016, 3:44pm UTC](https://forums.solar2d.com/t/hls-streaming-doesnt-work-on-tvos/340016/3 "2016-06-29T15:44:32Z")

</div>

Actually any kind of call to&nbsp;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 :&nbsp;[http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/15026610-support-media-playvideo-with-remotesource-on-tvos](http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/15026610-support-media-playvideo-with-remotesource-on-tvos)&nbsp;

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [June 27, 2016, 3:25pm UTC](https://forums.solar2d.com/t/hls-streaming-doesnt-work-on-tvos/340016/4 "2016-06-27T15:25:57Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![david79](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/d/e274bd/32.png) [@david79](https://forums.solar2d.com/u/david79)\
**Post date:** [June 29, 2016, 3:44pm UTC](https://forums.solar2d.com/t/hls-streaming-doesnt-work-on-tvos/340016/5 "2016-06-29T15:44:32Z")

</div>

Actually any kind of call to&nbsp;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 :&nbsp;[http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/15026610-support-media-playvideo-with-remotesource-on-tvos](http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/15026610-support-media-playvideo-with-remotesource-on-tvos)&nbsp;
