On 9/10/19 9:14 AM, J C Sunil Kumar Reddy wrote:
Hi All,
Can we renegotiate a rtp call to srtp and vice-versa in midcall? May be
with re-INVITE or UPDATE message? Is it a valid scenario if srtp is not
mandated?
In my scenario, server and client both supports RTP and SRTP and initially
call is negotiated to srtp call. Midway, server is sending a re-INVITE
asking to change to RTP. What should client do in this case? Accept, as
SRTP is not mandatory or drop the call?
Which RFC should I refer for this scenario and what does it say in this
case?
I don't know of any document that discusses this exact scenario. But
this is simply a particular case of replacing one medium with another,
and so it entirely appropriate.
While you should be able to just change the existing m= line, you might
want to consider just disabling that one with port=0 and adding a
different m= line for the srtp.
Or you could use one O/A exchange to disable the old media with port=0
and then use yet another O/A to re-establish it with srtp and a valid port.
But "just changing it" ought to work.
Thanks,
Paul
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors