>> From: Jaiswal, Sanjiv
>> 2)The is onging audio session between the agents . Now the terminating
>> end wants to change from audio to video. Termination generates the
>> reinvite with addition m lines for new audio and video and previous
>> mline port set to zero (deletion of media). Peer on receiving the new
>> offer simply rejects the SDP with  the ports of all the m-line set tp
>> Zero.
>> In such scenario whether the previous audio session exists or the
>> session is termination by sending BYE from the end point.
>
>The answer depends on whether the re-INVITE received a 2xx response or
>not.  If the response to the re-INVITE is 2xx, then the changed SDP
>takes effect, and the previous audio session is ended (and there are
>no new media sessions).  If the response to the re-INVITE is 4xx, then
>the changed SDP does not take effect, and the previous audio session
>continues.
>
>Dale

Correct, though I'd add that if switching from audio to audio/video I
would normally leave the first m= line in use (you can change codecs,
even IP addresses & ports), and just add a video m= line.  Remember you
can never remove an m= line!  When going from video to audio-only, you
must use port 0 for the video line but leave it in the SDP.

-- 
Randell Jesup, Worldgate (developers of the Ojo videophone)
rje...@wgate.com
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to