RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

Switch between streams with different SPS, PPS.

Open anilmaddala opened this issue 3 years ago • 1 comments

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?

anilmaddala avatar Jul 27 '22 22:07 anilmaddala

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

pedroSG94 avatar Jul 27 '22 22:07 pedroSG94