Replies: 3 comments 5 replies
|
There are several scenarios.
1.1. If both live stream A and B already exist internally, switching by changing the Program happens quickly. 1.2. If live stream B is newly incoming and the switch happens automatically from Fallback to Program, some delay is unavoidable until live stream B is initialized. This becomes more noticeable when the keyframe interval is longer.
So, if you want to make this transition very smooth, you should first confirm that the live stream has been initialized in the system, and then create the Program in the Schedule using the API. |
|
After running additional tests, I’d like to share more details: I tested switching between a file source and a live stream using the API (the stream is already fully ready on the server side before switching). I performed several switches. When switching to the video file, the transition is seamless. For reference:
Do you think this behavior could be related to keyframe alignment? Would it make sense to implement switching at the moment a keyframe is encountered in the incoming stream to achieve a smoother transition? |
|
The audio might be bypassing instead of encoding due to |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I’m currently using the Scheduled Channel feature in OvenMediaEngine to switch between different streams automatically.
However, I’m experiencing a short freeze (a few seconds) every time the stream switches from one source to another. During this transition, playback stops briefly before resuming normally.
Details:
You can watch here an example:
https://streamable.com/pu8dxx
Schedule xml file :
Server.xml OutputProfile part:
Part of log when switch appear :
I know that the error on
FFmpeg | third_parties.cpp:113has no impactI would like to know:
Thanks in advance for your help!
All reactions