Reply to thread

I try to explain it. I need it to change the audio track or the streaming bitrate in Emby and for fast channel changing.

Why:

When using the url given by "RetreiveStream" Emby starts a ffmpeg process with it. No problem so far. But when i change the streaming bitrate in Emby the ffmpeg process is killed and a new process is started with the same url.

This doesn't work a second time! (You can test it with vlc) Probably by closing the first ffmpeg process, MPExtended thinks the player has disconnected? But it always works with "DoStream". You don't even need to initialize and start a stream for this! It's all done by "DoStream".

Now the problem with the original code:

Without an "identifier" as start parameter for "DoStream" there's no way to finish or cancel the MPExtended stream.

You would always have to wait for the stream timeout. Really bad for zapping!


Top Bottom