Re: Query regarding Video Media attribute in SDP in PJSIP Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux