Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
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
Tyler_Smith
Level 7

Re: HLS not playing through pkg

Does your m3u8 have relative references to the streams in the playlist?
Tyler Smith
Senior Developer, REDspace
redspace.com
0 Kudos
mahusa7
Level 7

Re: HLS not playing through pkg

0 Kudos
renojim
Level 8

Re: HLS not playing through pkg

What happens if you copy it to tmp:/ ?
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