Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mahusa7
Level 7

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
Level 8

Re: HLS not playing through pkg

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

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

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