Just to complete the answer: - Adding a media line is always possible (audio to audio + video). - Removing a media line is never allowed, their number can never go down. - Disabling a media line (audio + video to audio) can in theory be done using media direction attribute (sendonly/inactive), but I would strongly advise against that, in favour of the second method, which is to reject the video line altogether, by setting its port to 0. Note, that in the first case, RTCP is still flowing on the inactive video media line, whereas in the second case, RTP and RTCP are both stopped.
On 07/09/2012 06:18, Ashwin Kumar wrote: > You have to just play with the SDP media directions. follow SDP RFC only. > > On Fri, Sep 7, 2012 at 9:33 AM, Xu, Fangpo <[email protected]> wrote: > >> Hi, all >> >> I am doing a feature of call escalation and de-escalation. >> But I didn't find a RFC about this. Could anyone tell me if there is one? >> Or I just follow SDP RFC to reject/accept video media line? >> >> Thanks in advance! >> >> Best Regards >> fangpo >> >> _______________________________________________ >> Sip-implementors mailing list >> [email protected] >> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors >> > > _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
