Greetings,
Is it possible to use the pjsua-lib without the media ? I'm developing the
SIP-2-RTSP gateway so just need from the PJSIP the custom SDP negotiation
only. Can you please guide me howto to with pjsua-lib the following :
a) disable the media (audio and video)
b) build the custom INVITE with my own SDP fields (ports, codecs, etc.)
All the RTP/RTCP data supposed to be handled by third_party RTSP library.
Thanks in advance
Rus
SfinxSoft
http://sfinxsoft.com
Rus,
please familiarize yourself with pjsip faq and docs: https://trac.pjsip.org/repos/wiki/FAQ#no-snd-dev
majority of questions are covered there.
Best,
Andrey
----- Original Message -----
From: rus@sfinx.in
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, October 11, 2017 2:39:48 PM
Subject: [pjsip] pjsua-lib usage without the media subsystem
Greetings,
Is it possible to use the pjsua-lib without the media ? I'm developing the
SIP-2-RTSP gateway so just need from the PJSIP the custom SDP negotiation
only. Can you please guide me howto to with pjsua-lib the following :
a) disable the media (audio and video)
b) build the custom INVITE with my own SDP fields (ports, codecs, etc.)
All the RTP/RTCP data supposed to be handled by third_party RTSP library.
Thanks in advance
Rus
SfinxSoft
http://sfinxsoft.com
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Andrey,
Adding the pjsua_set_null_snd_dev() still triggers the hardware init:
...
17:14:50.788 alsa_dev.c ..Added sound device default:CARD=U0x46d0x81b
17:14:52.105 alsa_dev.c ..Added sound device sysdefault:CARD=U0x46d0x81b
17:14:52.106 alsa_dev.c ..Added sound device front:CARD=U0x46d0x81b,DEV=0
17:14:52.107 alsa_dev.c ..Added sound device surround21:CARD=U0x46d0x81b,DEV=0
17:14:52.108 alsa_dev.c ..Added sound device surround40:CARD=U0x46d0x81b,DEV=0
17:14:52.109 alsa_dev.c ..Added sound device surround41:CARD=U0x46d0x81b,DEV=0
17:14:52.110 alsa_dev.c ..Added sound device surround50:CARD=U0x46d0x81b,DEV=0
17:14:52.111 alsa_dev.c ..Added sound device surround51:CARD=U0x46d0x81b,DEV=0
17:14:52.111 alsa_dev.c ..Added sound device surround71:CARD=U0x46d0x81b,DEV=0
...
It it possible not to use the sound hardware at all ?
So it still not clear about the video dev. How to set the video dev to null too ?
Rus
SfinxSoft
http://sfinxsoft.com
On Wed, 11 Oct 2017, Лухнов Андрей Олегович wrote:
Rus,
please familiarize yourself with pjsip faq and docs: https://trac.pjsip.org/repos/wiki/FAQ#no-snd-dev
majority of questions are covered there.
Best,
Andrey
----- Original Message -----
From: rus@sfinx.in
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, October 11, 2017 2:39:48 PM
Subject: [pjsip] pjsua-lib usage without the media subsystem
Greetings,
Is it possible to use the pjsua-lib without the media ? I'm developing the
SIP-2-RTSP gateway so just need from the PJSIP the custom SDP negotiation
only. Can you please guide me howto to with pjsua-lib the following :
a) disable the media (audio and video)
b) build the custom INVITE with my own SDP fields (ports, codecs, etc.)
All the RTP/RTCP data supposed to be handled by third_party RTSP library.
Thanks in advance
Rus
SfinxSoft
http://sfinxsoft.com
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
Andrey,
The main issue is that PJSUA still listening at SDP RTP ports despite the pjsua_set_null_snd_dev() call :
...
udp 0 0 0.0.0.0:4000 0.0.0.0:* 6061/pjsipua
...
How to disbale this ? I need only custom SDP negotiation - no RTP
listening, no media hardware involved.
Rus
SfinxSoft
http://sfinxsoft.com
On Wed, 11 Oct 2017, Лухнов Андрей Олегович wrote:
Rus,
please familiarize yourself with pjsip faq and docs: https://trac.pjsip.org/repos/wiki/FAQ#no-snd-dev
majority of questions are covered there.
Best,
Andrey
----- Original Message -----
From: rus@sfinx.in
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, October 11, 2017 2:39:48 PM
Subject: [pjsip] pjsua-lib usage without the media subsystem
Greetings,
Is it possible to use the pjsua-lib without the media ? I'm developing the
SIP-2-RTSP gateway so just need from the PJSIP the custom SDP negotiation
only. Can you please guide me howto to with pjsua-lib the following :
a) disable the media (audio and video)
b) build the custom INVITE with my own SDP fields (ports, codecs, etc.)
All the RTP/RTCP data supposed to be handled by third_party RTSP library.
Thanks in advance
Rus
SfinxSoft
http://sfinxsoft.com
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
Rus,
how would you receive a call without listening on a port?
Disabling audio device does not imply media stack shutdown.
If you need sip protocol only, it seems to me, you'd better start from scratch and
implement your own user agent.
Also, there is an article showing how to integrate third party media stack: https://trac.pjsip.org/repos/wiki/3rd_Party_Media_20
Andrey
----- Original Message -----
From: rus@sfinx.in
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, October 11, 2017 10:26:17 PM
Subject: Re: [pjsip] pjsua-lib usage without the media subsystem
Andrey,
The main issue is that PJSUA still listening at SDP RTP ports despite the pjsua_set_null_snd_dev() call :
...
udp 0 0 0.0.0.0:4000 0.0.0.0:* 6061/pjsipua
...
How to disbale this ? I need only custom SDP negotiation - no RTP
listening, no media hardware involved.
Rus
SfinxSoft
http://sfinxsoft.com
On Wed, 11 Oct 2017, Лухнов Андрей Олегович wrote:
Rus,
please familiarize yourself with pjsip faq and docs: https://trac.pjsip.org/repos/wiki/FAQ#no-snd-dev
majority of questions are covered there.
Best,
Andrey
----- Original Message -----
From: rus@sfinx.in
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, October 11, 2017 2:39:48 PM
Subject: [pjsip] pjsua-lib usage without the media subsystem
Greetings,
Is it possible to use the pjsua-lib without the media ? I'm developing the
SIP-2-RTSP gateway so just need from the PJSIP the custom SDP negotiation
only. Can you please guide me howto to with pjsua-lib the following :
a) disable the media (audio and video)
b) build the custom INVITE with my own SDP fields (ports, codecs, etc.)
All the RTP/RTCP data supposed to be handled by third_party RTSP library.
Thanks in advance
Rus
SfinxSoft
http://sfinxsoft.com
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
Andrey,
As was said initially - the RTP will be accepted by third party lib.
Ok,seems like pjsip is not suitable for such kind of simple SDP only
operations.
Нет смысла изобретать велосипед - есть старые sofia-sip/libre которые так
уже умеют.
Rus
SfinxSoft
http://sfinxsoft.com
On Thu, 12 Oct 2017, Лухнов Андрей Олегович wrote:
Rus,
how would you receive a call without listening on a port?
Disabling audio device does not imply media stack shutdown.
If you need sip protocol only, it seems to me, you'd better start from scratch and
implement your own user agent.
Also, there is an article showing how to integrate third party media stack: https://trac.pjsip.org/repos/wiki/3rd_Party_Media_20
Andrey
----- Original Message -----
From: rus@sfinx.in
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, October 11, 2017 10:26:17 PM
Subject: Re: [pjsip] pjsua-lib usage without the media subsystem
Andrey,
The main issue is that PJSUA still listening at SDP RTP ports despite the pjsua_set_null_snd_dev() call :
...
udp 0 0 0.0.0.0:4000 0.0.0.0:* 6061/pjsipua
...
How to disbale this ? I need only custom SDP negotiation - no RTP
listening, no media hardware involved.
Rus
SfinxSoft
http://sfinxsoft.com
On Wed, 11 Oct 2017, Лухнов Андрей Олегович wrote:
Rus,
please familiarize yourself with pjsip faq and docs: https://trac.pjsip.org/repos/wiki/FAQ#no-snd-dev
majority of questions are covered there.
Best,
Andrey
----- Original Message -----
From: rus@sfinx.in
To: "pjsip" pjsip@lists.pjsip.org
Sent: Wednesday, October 11, 2017 2:39:48 PM
Subject: [pjsip] pjsua-lib usage without the media subsystem
Greetings,
Is it possible to use the pjsua-lib without the media ? I'm developing the
SIP-2-RTSP gateway so just need from the PJSIP the custom SDP negotiation
only. Can you please guide me howto to with pjsua-lib the following :
a) disable the media (audio and video)
b) build the custom INVITE with my own SDP fields (ports, codecs, etc.)
All the RTP/RTCP data supposed to be handled by third_party RTSP library.
Thanks in advance
Rus
SfinxSoft
http://sfinxsoft.com
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