Mapping SDP over jingle

204 views
Skip to first unread message

Nilson Freitas

unread,
Feb 6, 2013, 10:19:10 AM2/6/13
to discuss...@googlegroups.com
Hello guys,

The sdpToJingle project is not working fine and seems to not be maintained anymore so I decided to create a new project to map sdp over jingle... In order to be done, there are only two remaining issues that I need you help to solve..

The attached example.sdp was generate by chrome version 25.0.1364.68 beta-m and I am using it to do my tests...

Question 01

Grammar: a=rtpmap:<payload type> <encoding name>/<clock rate> [/<encoding parameters>]

example.sdp: a=rtpmap:111 opus/48000/2

Does anybody know how can I map encoding parameters (/2) over jingle (payload-type)?

Question 02

example.sdp: a=ssrc:157916935 msid:QEriMJlECgavFmqXKLd7rS5NI0Brep7MH8eO a0
example.sdp: a=ssrc:2477574503 msid:QEriMJlECgavFmqXKLd7rS5NI0Brep7MH8eO v0

What those a0 and v0 means and how can I map it over jingle (content)?

I my tests, when I convert from SDP1 ==> JINGLE ==> SDP2, the only difference between SDP1 and SDP2 are those listed on this topic...

Thank you very much!
--
Nilson Freitas
Engenheiro de Software / Software Engineer
(31) 8558-4686

Esta mensagem, incluindo seus anexos, pode conter informacoes privilegiadas e/ou de caráter confidencial, não podendo ser retransmitida sem autorização do remetente. Se você nao é o destinatário ou pessoa autorizada a recebê-la, informamos que o seu uso, divulgação, cópia ou arquivamento são proibidos. Portanto, se você recebeu esta mensagem por engano, por favor, informe-nos respondendo imediatamente a este e-mail e em seguida apague-a.
example.sdp

Philipp Hancke

unread,
Feb 8, 2013, 1:08:35 AM2/8/13
to discuss...@googlegroups.com
>  In order to be done, there are only two remaining issues that I need you help to solve..

You only have two issues? Then try firefox-interoperability, it will give you more issues to worry about (or help you find bugs in your mapping) :-)

Question 01

Grammar: a=rtpmap:<payload type> <encoding name>/<clock rate> [/<encoding parameters>]

example.sdp: a=rtpmap:111 opus/48000/2

Does anybody know how can I map encoding parameters (/2) over jingle (payload-type)?

That one is easy, it's the channels attribute (at least for audio). See http://xmpp.org/extensions/xep-0167.html#format
 
Question 02

example.sdp: a=ssrc:157916935 msid:QEriMJlECgavFmqXKLd7rS5NI0Brep7MH8eO a0
example.sdp: a=ssrc:2477574503 msid:QEriMJlECgavFmqXKLd7rS5NI0Brep7MH8eO v0

What those a0 and v0 means and how can I map it over jingle (content)?

https://docs.google.com/document/d/1qUW4JGw87gJT38Oa8S1YmCjXImhw7p614_P4-JcnCTA/edit might provide a way to do this, but lacks an sdp mapping section.
How do you map the other a=ssrc lines?
 
I my tests, when I convert from SDP1 ==> JINGLE ==> SDP2, the only difference between SDP1 and SDP2 are those listed on this topic...

Subscribing to jin...@xmpp.org might help, too. 

Nilson Freitas

unread,
Feb 8, 2013, 4:09:23 AM2/8/13
to discuss...@googlegroups.com
Thanks Philipp,

I am mapping as streams/stream. I got it from sdpToJingle but I've just realized  that it is out of spec as well:

<streams>
<stream cname="yZCRaxHnycOCe6tI" msid="QEriMJlECgavFmqXKLd7rS5NI0Brep7MH8eO" mslabel="QEriMJlECgavFmqXKLd7rS5NI0Brep7MH8eO" label="QEriMJlECgavFmqXKLd7rS5NI0Brep7MH8eOa0">
<ssrc>157916935</ssrc>
</stream>
</streams>

--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

Dele Olajide

unread,
Feb 8, 2013, 8:46:05 AM2/8/13
to discuss...@googlegroups.com
Try Phono's JSEP SDP to Jingle mapping implementation


-dele

Ivan Vučica

unread,
Feb 8, 2013, 11:36:08 AM2/8/13
to discuss...@googlegroups.com, discuss...@googlegroups.com
Is your code available anywhere?

Regards,

Ivan Vučica
via phone
--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
<example.sdp>

Michael Weibel

unread,
Feb 8, 2013, 4:33:52 PM2/8/13
to discuss...@googlegroups.com
Hi,

I'm the creator of sdpToJingle. Didn't have time to update the lib lately but this email got my attention.


The sdpToJingle project is not working fine and seems to not be maintained anymore so I decided to create a new project to map sdp over jingle... In order to be done, there are
only two remaining issues that I need you help to solve..

I'm a bit surprised that you took this way instead of contributing to sdpToJingle (instead of creating the whole thing from scratch, fixing bugs seems to be easier IMHO). May I ask why you chose that way?

The Phono lib seems to be nice though and I guess they have a lot more time & know how invested than I did.

- Michael
Reply all
Reply to author
Forward
0 new messages