VideoRtpSession must be able to change the resolution of the encoded stream with restarting the encoder. The purpose is to allow adapting the resolution to the available bandwidth. The saved bandwidth will be used to increase robustness against packet losses (more key-frames, periodic intra refresh, FEC, ...)
H264 specification allows changing the characteristics (including the resolution) of the encoded video stream at any time, as long as a new SPS/PPS and IDR frames are provided to allow the decoder to resynchronize.
The generated stream (containing various resolutions) must be validated against few supported decoders (minimally ffmpeg based decoder).
Mohamed Chibanichanged title from Vidoe encoding - Dynamically change the resolution of the encoded frames to Video encoding - Dynamically change the resolution of the encoded frames
changed title from Vidoe encoding - Dynamically change the resolution of the encoded frames to Video encoding - Dynamically change the resolution of the encoded frames