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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mahusa7
Visitor

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
4 REPLIES 4
Tyler_Smith
Streaming Star

Re: HLS not playing through pkg

Does your m3u8 have relative references to the streams in the playlist?
Tyler Smith
0 Kudos
mahusa7
Visitor

Re: HLS not playing through pkg

0 Kudos
renojim
Community Streaming Expert

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
mahusa7
Visitor

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
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.