better handling of switching video codecs when stream is added to rtp