[sip-comm-dev] can't change rtp format


#1

Hi,

I an implementing codec change during sip communicator session.

the program called closeStreams() when negotiate new sdp.

but when openmediastreams(sdp) is called using new sdpdescription i
get this error

"Internal error! AVtransmitter failed to find a format's corresponding
ipAddress."
this occurs when i remove the currently used formats in the new sdp
description.
OLD receivableVideoFormats : JPEG
                                                       H261
                                                       H263

NEW receivableVideoFormats :H263
                                                       H261
                                                       
if I still put the currently used format in the new sdp description, I
don't get the error, but the codec doesn't change even when i make the
format in the last position.
OLD receivableVideoFormats : JPEG
                                                       H261
                                                       H263

NEW receivableVideoFormats :H263
                                                       H261
                                                       JPEG
in this scenario, i supposed it will create new rtp streams with H263
format, but instead it keep using JPEG as the new video format.

Anybody can help me with this? thank you

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net