RootEncoder
RootEncoder copied to clipboard
Switch between streams with different SPS, PPS.
I am trying to switch between streams which have differnet SPS, PPS.
I am seeing Grey Video feed on the receiving viewer client. The newer stream works as expected if I teardown and restart the RTSP connection.
Is there a way to switch between streams (with different SPS,PPS) without resetting the connection?
Hello,
RTSP and RTMP need specify SPS and PPS in connection so it is inmutable because player need to know how to decode it. Normally you should do it in server side and connect player to desired endpoint. This is possible in few servers like wowza or srs server