SIP is used by audio applications mostly, sound is the main concern of SIP.
But one might use SIP for other types of applications like stated in RFCs
"white board". Also SDP can be used to describe application specific data
rather sound encoding/decoding schema.
How can I use pjsip in order to create an application dealing with raw data
rather than sound and how can I modify SDP to accomplish that.
Your directions are very welcome
--
Kabil Akpınar
2010/8/17 Kabil Akpınar kabilakpinar@gmail.com:
SIP is used by audio applications mostly, sound is the main concern of SIP.
But one might use SIP for other types of applications like stated in RFCs
"white board". Also SDP can be used to describe application specific data
rather sound encoding/decoding schema.
How can I use pjsip in order to create an application dealing with raw data
rather than sound and how can I modify SDP to accomplish that.
Your directions are very welcome
As you can see in library architecture diagram in
http://www.pjsip.org/docs.htm, the libraries in PJSIP distro are
arranged in layers. The PJSUA-LIB, as the highest abstraction, is tied
up with media (audio, in this case. video is coming though ;-), to
make it easy to use, and currently does not support other media in the
SDP (unless if you hack it of course).
But if you work with the lower level invite session directly (see
[1]), you have full control over the SDP content that will be
negotiated by the session, so at this level any media in the SDP is
supported.
[1] http://www.pjsip.org/pjsip/docs/html/group__PJSIP__INV.htm
Cheers
Benny
On Tue, Aug 17, 2010 at 5:38 PM, Benny Prijono bennylp@teluu.com wrote:
2010/8/17 Kabil Akpınar kabilakpinar@gmail.com:
SIP is used by audio applications mostly, sound is the main concern of
SIP.
But one might use SIP for other types of applications like stated in RFCs
"white board". Also SDP can be used to describe application specific data
rather sound encoding/decoding schema.
How can I use pjsip in order to create an application dealing with raw
data
rather than sound and how can I modify SDP to accomplish that.
Your directions are very welcome
As you can see in library architecture diagram in
http://www.pjsip.org/docs.htm, the libraries in PJSIP distro are
arranged in layers. The PJSUA-LIB, as the highest abstraction, is tied
up with media (audio, in this case. video is coming though ;-),
Indeed I am used to those layers. And As you said I will need to create a
layer similar to PJSUA but for raw data. The layer will need pjmedia and
pjsip. And you said video? really? and when? :)
to
make it easy to use, and currently does not support other media in the
SDP (unless if you hack it of course).
Well higher level is really bound to audio as far as I digged the source
code.
But if you work with the lower level invite session directly (see
[1]), you have full control over the SDP content that will be
negotiated by the session, so at this level any media in the SDP is
supported.
I will check it out.
Cheers
Benny
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Kabil Akpınar
2010/8/17 Kabil Akpınar kabilakpinar@gmail.com:
Indeed I am used to those layers. And As you said I will need to create a
layer similar to PJSUA but for raw data. The layer will need pjmedia and
pjsip. And you said video? really? and when? :)
We plan to have video in 2.0, and 2.0 will be released after 1.8. As
for time frame, I imagine it will be no sooner than 2-3 months after
1.8.
Cheers
Benny
On Wed, Aug 18, 2010 at 5:11 AM, Benny Prijono bennylp@teluu.com wrote:
2010/8/17 Kabil Akpınar kabilakpinar@gmail.com:
Indeed I am used to those layers. And As you said I will need to create a
layer similar to PJSUA but for raw data. The layer will need pjmedia and
pjsip. And you said video? really? and when? :)
We plan to have video in 2.0, and 2.0 will be released after 1.8. As
for time frame, I imagine it will be no sooner than 2-3 months after
1.8.
It is very exiting. I wondered now, how would video SDP seem? Can you
suggest some link or give some info about it?
Cheers
Benny
Cheers as well
Kabil Akpınar