Hi,
how to differentiate video call or audio call when receive the incoming
call.
thru SDP. if there is a m=video in SDP, then the call is video too
On Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <ashoknarvaneni7@gmail.com
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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Sorry, i gotta say it: Avasalara? You have got to watch "The Expanse" on
Netflix!
:)
On Tue, Feb 28, 2017 at 8:16 PM Ranjit Avasarala ranjit.avasarala@gmail.com
wrote:
thru SDP. if there is a m=video in SDP, then the call is video too
On Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <
ashoknarvaneni7@gmail.com> 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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@gmail.com> wrote:
thru SDP. if there is a m=video in SDP, then the call is video too
On Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <
ashoknarvaneni7@gmail.com> 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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Hi,
Are you using PJSUA library?
The is a lot of information regarding video on PJSIP´s webpages.
e.g. https://trac.pjsip.org/repos/wiki/Video_Users_Guide
Looking for incoming call in this document will most likely help you.
/ Lars
2017-03-01 12:52 GMT+01:00 Ashok Narvaneni ashoknarvaneni7@gmail.com:
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@gmail.com> wrote:
thru SDP. if there is a m=video in SDP, then the call is video too
On Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <
ashoknarvaneni7@gmail.com> 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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
if you do not want video, then u can put video port as 0
m=video 0 RTP/AVP x y z - this will indicate to far end that the sender
does not want to send video
On Wed, Mar 1, 2017 at 5:52 AM, Ashok Narvaneni ashoknarvaneni7@gmail.com
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@gmail.com> wrote:
thru SDP. if there is a m=video in SDP, then the call is video too
On Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <
ashoknarvaneni7@gmail.com> 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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@gmail.com
wrote:
if you do not want video, then u can put video port as 0
m=video 0 RTP/AVP x y z - this will indicate to far end that the sender
does not want to send video
On Wed, Mar 1, 2017 at 5:52 AM, Ashok Narvaneni <ashoknarvaneni7@gmail.com
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@gmail.com> wrote:
thru SDP. if there is a m=video in SDP, then the call is video too
On Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <
ashoknarvaneni7@gmail.com> 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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@gmail.com:
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@gmail.com> wrote:
if you do not want video, then u can put video port as 0
m=video 0 RTP/AVP x y z - this will indicate to far end that the sender
does not want to send video
On Wed, Mar 1, 2017 at 5:52 AM, Ashok Narvaneni <
ashoknarvaneni7@gmail.com> 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@gmail.com> wrote:
thru SDP. if there is a m=video in SDP, then the call is video too
On Tue, Feb 28, 2017 at 10:03 AM, Ashok Narvaneni <
ashoknarvaneni7@gmail.com> 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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Deng Xiaoming
dengxiaoming@gmail.com