mahusa7
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2017
11:59 AM
HLS not playing through pkg
I am trying to play a m3u8 file from pkg. The same file works from a server that I created.
ContentNode.url = "pkg:/files/blah.m3u8" does not work
ContentNode.url = "http://192.168.1.168:8001/blah.m3u8" works
I am able to play ts files from pkg.
Is there a way to play HLS files from the Roku filesystem?
ContentNode.url = "pkg:/files/blah.m3u8" does not work
ContentNode.url = "http://192.168.1.168:8001/blah.m3u8" works
I am able to play ts files from pkg.
Is there a way to play HLS files from the Roku filesystem?
4 REPLIES 4
Tyler_Smith
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2017
12:36 PM
Re: HLS not playing through pkg
Does your m3u8 have relative references to the streams in the playlist?
Tyler Smith
mahusa7
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2017
02:10 PM
Re: HLS not playing through pkg
Yes, here's how my M3U8 looks:
___________________________________
#EXTM3U
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4,
http://myOriginServer/seg-0000000000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0000360000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0000720000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0001080000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0001440000-da ... ~360000.ts
___________________________________
#EXTM3U
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4,
http://myOriginServer/seg-0000000000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0000360000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0000720000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0001080000-da ... ~360000.ts
#EXTINF:4,
http://myOriginServer/seg-0001440000-da ... ~360000.ts
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2017
03:49 PM
Re: HLS not playing through pkg
What happens if you copy it to tmp:/ ?
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
mahusa7
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2017
08:43 AM
Re: HLS not playing through pkg
Thank you for the suggestions.
The fix was deleting the file from the project, and importing it again to package.
The fix was deleting the file from the project, and importing it again to package.