G Kazaroth wrote:
> For the m3u8redirect, it sent the 1080 m3u8 URL to TVH and when played through Kodi, it had no sound. This basically meant it was outside of Cabernet's streaming service and has to do with the url selected when playing through htsp.
This is where it gets really puzzling then. Because, as C Island noted, "I added the problem stream url directly to tvheadend in a new IPTV network and mux and and it works just fine. It plays the content from 8 hours in the past and the audio worked fine." This was my experience also.
When you tried your experiment, did it also start playing the video from much earlier or did it start with "now"?
If it started with "now" then I wonder if you'd have the same result using m3u8redirect and not throwing away any packets at the start. If you do get sound then, I would wonder what is in that first packet (or first several packets) that makes Kodi play the audio. If you still do not get sound, then I would wonder how the stream coming out of Cabernet differs from the stream that is received directly. In other words, if you are doing m3u8 redirect and NOT removing any packets from the stream, it should look identical to Tvheadend and to Kodi as if you used the stream from the original source.
Obviously in the end you want to be able to throw away the "old" packets and to still be able to play (or at least record) the 1080 stream. But if it plays with audio in Kodi when you don't throw away the "old" packets, then maybe the solution would be to keep the first one or two packets, then throw away all the ones in the middle until you get to "now". If it doesn't play with audio that way, then the question is, what's different about the original stream vs. the stream coming out of Cabernet?
Personally I'd rather have to start recording, wait several seconds, and then start playing back the recording to get 1080p and sound than to have to watch 720p while knowing that 1080 is available. But what has puzzled me all along is that VLC plays these fine, starting at "now" and with both video and sound. So it may well be that Kodi is doing something weird, I just don't know what. It is a very strange problem indeed!
Oh, forgot to mention, if you are saying that m3u8redirect just tells Tvheadend/Kodi to play the original stream (not even going through Cabernet at all) then I would wonder if there is some difference between an IPTV static network and an IPTV automatic network in Tvheadend that is causing the issue? Because when you put the original link in an IPTV static network, it plays both video and audio, just from the past. So what would be different about having essentially the same link in an IPTV automatic network? Is there some difference in how the MUXes are created? I just keep thinking that something has to be different somewhere!