I just started a new plugin that streams MediaPortal Live TV via HLS however I am having some issues with two Plex clients. In the Android client the video will start to stream but it will immediately close after about 3 or 4 seconds. I wonder if this is a buffering issue of some kind? In Plex/Web I cannot get the video to load at all, the player will just spin indefinitely. I took a look at the requests with Fiddler and I am seeing it load the playlist and it even returns the first .ts file but nothing after that. Does anyone see any obvious issues with my URL Service? Thanks!
I just started a new plugin that streams MediaPortal Live TV via HLS however I am having some issues with two Plex clients. In the Android client the video will start to stream but it will immediately close after about 3 or 4 seconds. I wonder if this is a buffering issue of some kind? In Plex/Web I cannot get the video to load at all, the player will just spin indefinitely. I took a look at the requests with Fiddler and I am seeing it load the playlist and it even returns the first .ts file but nothing after that. Does anyone see any obvious issues with my URL Service? Thanks!
I've had some problems with HLS when using a callback when the m3u8 list only contain relative URLs, i.e. the fullpath to the segments is not stated in the playlist.
The workaround I used was to "fix" the playlist by:
Read the playlist into a buffer
Replacing the URLs with absolute paths
Returning the new playlist, i.e. not call Redirect
I've had some problems with HLS when using a callback when the m3u8 list only contain relative URLs, i.e. the fullpath to the segments is not stated in the playlist.
The workaround I used was to "fix" the playlist by:
Read the playlist into a buffer
Replacing the URLs with absolute paths
Returning the new playlist, i.e. not call Redirect
I tried your suggestion even though I have full absolute paths but unfortunately I get the same result. My guess is that Plex/Web and Android don't like paths without a .ts extension. Here is a sample of my playlist:
I tried your suggestion even though I have full absolute paths but unfortunately I get the same result. My guess is that Plex/Web and Android don't like paths without a .ts extension. Here is a sample of my playlist:
Is that playlist a modified one, or is it the one that is being returned to for example Plex/Web? I'm a little bit confused since that one contains a .ts extension for each segment?
Also, is this the only playlist that exist? Usually there must exist atleast 2 playlists, one master and one or more for different bitrates/resolutions etc. I know FFMpeg is capable of recreating a "master" playlist if it is missing. Maybe that is the issue here???