[pjsip] Query regarding Video Media attribute in SDP in PJSIP Code

Bill Gardner billg at wavearts.com
Mon Apr 11 15:26:18 EDT 2016


Hi Vikas,

Take a look at update_media_direction() in sdp_neg. It appears the 
camera client would have to be set to sendonly, if it is sendrecv it 
responds to a remote recvonly by setting media to inactive.

Regards,

Bill


On 4/11/2016 1:23 PM, Vikas Sharma wrote:
> Hi,
>
> I have attached a snapshot here for your reference.I want to hardcode 
> below media attribute parameters in SDP in the PJSIP code.
> *m=audio
> *
> *a=sendrecv
> *
> *m=video
> *
> *a=recvonly*
>
> I have made the changes in the *endpoint.c* file for above media 
> details and i am able to see these media attributes in the INVITE-200 
> OK transmission in wireshark.*(starting call from PJSIP endpoint to 
> linphone endpoint)*
>
> But after getting the 200 OK packet at the PJSIP endpoint ,the PJSIP 
> code modifies the attribute for video to *inactive* and sends an 
> UPDATE packet to other end and i am not able to see the video at PJSIP 
> endpoint.Now the SDP is like below.
> *m=audio
> **a=sendrecv
> **m=video
> **a=inactive
>
>
> *
> Kindly let me know the reason of this and How can i disable this 
> update in SDP attributes to see the video at my end.
> *
> *
> *Thanks
> *
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160411/566d8771/attachment-0002.html>


More information about the pjsip mailing list