Roku Community
Sign In
Help
Browse
Browse
Streaming Players
Roku setup
Features, settings & updates
Wi-Fi & connectivity
Channels & viewing
Solving playback issues
Remotes
Roku mobile app
Roku legacy products
Issue Tracking Board
Roku TV
Manufacturer support & warranty resources
Discussions
Roku Audio
Discussions
Roku Smart Home
Using your smart home devices
Cameras & doorbells
Lights & power
Smart home app
Roku Pay
Account, payments & subscriptions
Community
Community discussions
Welcome to the Roku Community
Announcements
Developers
Roku Developer Program
Roku Direct Publisher
Roku TV Ready Certification Program
Independent Developer Kit
Roku Developer Program
Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
All community
This category
This board
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Roku Community
:
Developers
:
Roku Developer Program
:
Re: HLS not playing through pkg
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
mahusa7
Visitor
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
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?
0
Kudos
Reply
All Topics
Previous Topic
Next Topic
4 REPLIES
4
Tyler_Smith
Streaming Star
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
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
0
Kudos
Reply
mahusa7
Visitor
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
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
0
Kudos
Reply
renojim
Community Streaming Expert
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
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.
0
Kudos
Reply
mahusa7
Visitor
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
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.
0
Kudos
Reply
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or
post your question
to get help.
Become a Roku Streaming Expert!
Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community.
Learn more.
Related Community Topics
Live HLS stream won't play to completion when ENDLIST is added
Last segments of HLS Live Stream are repeated
MarkupGrid not showing sections or playing video Help Please
Custom Application to play videos controlled via external system.