Hey guys, is it possible to have a channel that has multiples streams (live iptv channels) that I can choose from and play? I know it is possible with simplevideoplayer but so far, I can only manage to make one stream play. I don't know how to add multiple streams to one channel. Can someone help me? Thanks
It's not clear what you're asking. An M3U8 file is an HLS playlist. It can include multiple bitrates of the same stream (as designed). Support for that doesn't require any special BrightScript code beyond supplying the URL and specifying "hls" as the stream format.
If the OP is asking if a single channel can present a list of different streams that the user can choose from, the answer is yes. You'll need to use a poster screen, grid screen, or list screen to present them to the user. There are several SDK examples that show how that's done.
I understand what you're trying to do. What I'm saying is that if you're trying to do it with an M3U8 playlist, then you don't understand how M3U8 and HLS work.
Either way, there's no built-in functionality to do what you're wanting. You'll have to write code to parse your playlist and present it on one of the list screen types (i.e., poster screen, list screen, grid screen), so you can use whatever format you want.
The variant playlists in an HLS m3u8 file are all, according to the spec, exact copies of each other except for bitrate. There's no point in asking the user to choose one. Just play the whole m3u8 and the hls player will automatically choose the best stream, and dynamically adjust if necessary.
I have an M3U8 playlist that consists of around 70 individual links to different HLS live streams. I am able to use that playlist on Plex Media Server - via a modified version of IPTV and it works flawlessly. The channel shows each link and I can select ANY link and it will play on my Roku via IPTV on Plex.
Therefore we can assume that this type of playlist is within the spec of M3U8?
I realise there will be coding to do, to allow the same to be done directly via Roku... not everyone has or wants a Plex server - that is why I am attempting to build a Roku app that can "read" my playlist and then play the chosen link.