It's not recommended to modify SDP directly, setting CallOpParam.opt.videoCount for Call.answer(CallOpParam) to zero instead.
2017-03-02 23:21 GMT+08:00 Ashok Narvaneni <ashoknarvaneni7@xxxxxxxxx>:
Thanks for the reply,How to set video port to 0. Please send any sample code.On Wed, Mar 1, 2017 at 8:50 PM, Ranjit Avasarala <ranjit.avasarala@xxxxxxxxx> wrote:if you do not want video, then u can put video port as 0m=video 0 RTP/AVP x y z - this will indicate to far end that the sender does not want to send videoOn Wed, Mar 1, 2017 at 5:52 AM, Ashok Narvaneni <ashoknarvaneni7@xxxxxxxxx> wrote:Thanks,In the Sdp body we have both m=audio and m=video we want call to be connected to audio only.Video comes up all the time. How can we change this to selectively accept audio and video.Below is the sdp body for reference.m=audio 27598 RTP/AVP 0 9 8 3 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
m=video 22194 RTP/AVP 97 34 102
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42e01e; packetization-mode=1
a=rtpmap:34 H263/90000
a=fmtp:34 profile-level-id=42e01e; packetization-mode=1
a=rtpmap:102 VP8/90000
a=fmtp:102 profile-level-id=42e01e; packetization-mode=1
On Wed, Mar 1, 2017 at 12:45 AM, Ranjit Avasarala <ranjit.avasarala@xxxxxxxxx> wrote:thru SDP. if there is a m=video in SDP, then the call is video tooOn Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <ashoknarvaneni7@xxxxxxxxx> wrote:Hi,how to differentiate video call or audio call when receive the incoming call.
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.or g
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.or g
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.or g
_______________________________________________
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
Deng Xiaoming
dengxiaoming@xxxxxxxxx
dengxiaoming@xxxxxxxxx
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org