[jitsi-dev] iOS webrtc


#1

Hello,

i fixed the problem with the name duplicated at the end and added channels (if not 1)
  a=rtpmap:111 opus/48000/2

that is another step closer but i am still getting all those attributes ignored.

i also added processing for the parameter here.
  <payload-type id="111" name="opus" clockrate="48000" channels="2">
    <parameter name="minptime" value="10"/>
  </payload-type>

but no change ignoring lines.

I do get
  rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0" uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level" id="1"/>
should it be converted to
  a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
?

also what do i do with the line before that?
  <ssrc xmlns="http://estos.de/ns/ssrc" cname="mixed" msid="mixedmslabel mixedlabelv0" mslabel="mixedmslabel" label="mixedlabelv0" ssrc="3735928559"/>
it seems like a modifier for a ssrc before it.

thank you again, as frustrating as this is i can not give up. i have to get a connection working or this project may be cancelled.

jingle iq content

    <content creator="initiator" name="audio" senders="both">
      <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio" ssrc="1914249563">
        <payload-type id="111" name="opus" clockrate="48000" channels="2">
          <parameter name="minptime" value="10"/>
        </payload-type>
        <payload-type id="103" name="ISAC" clockrate="16000" channels="1"/>
        <payload-type id="104" name="ISAC" clockrate="32000" channels="1"/>
        <payload-type id="0" name="PCMU" clockrate="8000" channels="1"/>
        <payload-type id="8" name="PCMA" clockrate="8000" channels="1"/>
        <payload-type id="106" name="CN" clockrate="32000" channels="1"/>
        <payload-type id="105" name="CN" clockrate="16000" channels="1"/>
        <payload-type id="13" name="CN" clockrate="8000" channels="1"/>
        <payload-type id="126" name="telephone-event" clockrate="8000" channels="1"/>
        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="1914249563">
          <parameter name="cname" value="hsFRiT0eh9dtHtV7"/>
          <parameter name="msid" value="r3OWwiMMDcfwnwjvZngUTQVM25aiT3ABfkXJ b662a0bd-08d4-4daa-95a5-cd16017e7a82"/>
          <parameter name="mslabel" value="r3OWwiMMDcfwnwjvZngUTQVM25aiT3ABfkXJ"/>
          <parameter name="label" value="b662a0bd-08d4-4daa-95a5-cd16017e7a82"/>
        </source>
        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="3735928559">
          <parameter name="cname" value="mixed"/>
          <parameter name="label" value="mixedlabelv0"/>
          <parameter name="msid" value="mixedmslabel mixedlabelv0"/>
          <parameter name="mslabel" value="mixedmslabel"/>
        </source>

        <ssrc xmlns="http://estos.de/ns/ssrc" cname="mixed" msid="mixedmslabel mixedlabelv0" mslabel="mixedmslabel" label="mixedlabelv0" ssrc="3735928559"/>
        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0" uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level" id="1"/>

      </description>
      <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" ufrag="dm24t" pwd="2073s75ri9jakl0ja6bkk88av7">
          <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-1" setup="actpass">72:2A:BA:AB:C8:86:09:D8:6C:78:EF:51:5A:57:DD:7B:45:78:9C:84</fingerprint>
          <candidate foundation="1" component="1" protocol="udp" priority="2130706431" ip="2002:902:37b8:0:0:0:902:37b8" port="5254" type="host" generation="0" network="1" id="g16i0qarn4"/>
          <candidate foundation="2" component="1" protocol="udp" priority="2130706431" ip="9.2.55.184" port="5254" type="host" generation="0" network="1" id="y1mvdhb0oo"/>
          <candidate foundation="3" component="1" protocol="udp" priority="2113937151" ip="fe80:0:0:0:e0e1:bee7:27dd:a0a1" port="5254" type="host" generation="0" network="1" id="sfxksymq8s"/>
          <candidate foundation="1" component="2" protocol="udp" priority="2130706430" ip="2002:902:37b8:0:0:0:902:37b8" port="5255" type="host" generation="0" network="1" id="7du56htaz0"/>
          <candidate foundation="2" component="2" protocol="udp" priority="2130706430" ip="9.2.55.184" port="5255" type="host" generation="0" network="1" id="65024yio1n"/>
          <candidate foundation="3" component="2" protocol="udp" priority="2113937150" ip="fe80:0:0:0:e0e1:bee7:27dd:a0a1" port="5255" type="host" generation="0" network="1" id="ww84ou7hw0"/>
      </transport>
    </content>

This is the resulting SDP i create

v=0
o=- 9135848008193788882 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
m=audio RTP/SAVPF 111 103 104 0 8 106 105 13 126
a=ice-ufrag:2i90s
a=ice-pwd:6caatftegnidh90mdpohhr38hq
a=candidate:1 1 udp 2130706431 2002:902:37b8:0:0:0:902:37b8 5399 typ host
a=candidate:2 1 udp 2130706431 9.2.55.184 5399 typ host
a=candidate:3 1 udp 2113937151 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5399 typ host
a=candidate:1 2 udp 2130706430 2002:902:37b8:0:0:0:902:37b8 5400 typ host
a=candidate:2 2 udp 2130706430 9.2.55.184 5400 typ host
a=candidate:3 2 udp 2113937150 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5400 typ host
a=mid:audio
  *** seems to ignore from here down ***
  *** seems to ignore from here down ***
  *** seems to ignore from here down ***
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=ssrc:2685703966 cname:DyiRajWhUESrXqYk
a=ssrc:2685703966 msid:Ji5HVTyO3vAprIERrnfQh29IcuqBuKvgexr4 7075601e-0ceb-48e3-b13d-ea8a9324f160
a=ssrc:2685703966 mslabel:Ji5HVTyO3vAprIERrnfQh29IcuqBuKvgexr4
a=ssrc:2685703966 label:7075601e-0ceb-48e3-b13d-ea8a9324f160
a=ssrc:3735928559 cname:mixed
a=ssrc:3735928559 label:mixedlabelv0
a=ssrc:3735928559 msid:mixedmslabel mixedlabelv0
a=ssrc:3735928559 mslabel:mixedmslabel
a=fingerprint:sha-1 45:4C:F0:67:E4:49:3B:80:B5:25:61:D6:62:C7:B9:98:0F:38:7D:96
a=rtcp-mux
m=video RTP/SAVPF 100 116 117
a=ice-ufrag:1d0hc
a=ice-pwd:5qlcp3if4njgdiap2slv9hs0oe
a=candidate:1 1 udp 2130706431 2002:902:37b8:0:0:0:902:37b8 5403 typ host
a=candidate:2 1 udp 2130706431 9.2.55.184 5403 typ host
a=candidate:3 1 udp 2113937151 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5403 typ host
a=candidate:1 2 udp 2130706430 2002:902:37b8:0:0:0:902:37b8 5404 typ host
a=candidate:2 2 udp 2130706430 9.2.55.184 5404 typ host
a=candidate:3 2 udp 2113937150 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5404 typ host
a=mid:video
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtpmap:100 VP8/90000
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:4090927090 cname:Zk2f4W9eDo34/KfI
a=ssrc:4090927090 msid:ABDQ3PByI8HAsSw1db2nRU7rlpzEzCB22Ohe 45ed8da3-32fd-4580-86a5-34233abcb46c
a=ssrc:4090927090 mslabel:ABDQ3PByI8HAsSw1db2nRU7rlpzEzCB22Ohe
a=ssrc:4090927090 label:45ed8da3-32fd-4580-86a5-34233abcb46c
a=ssrc:3735928559 cname:mixed
a=ssrc:3735928559 label:mixedlabelv0
a=ssrc:3735928559 msid:mixedmslabel mixedlabelv0
a=ssrc:3735928559 mslabel:mixedmslabel
a=fingerprint:sha-1 81:88:15:E0:B6:15:0B:9D:03:05:6D:84:4A:56:A1:72:A9:93:81:A9
a=rtcp-mux
Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772


#2

Hello,

i fixed the problem with the name duplicated at the end and added
channels (if not 1)
a=rtpmap:111 opus/48000/2

that is another step closer but i am still getting all those attributes
ignored.

i also added processing for the parameter here.
*<payload-type id="111" name="opus" clockrate="48000" channels="2">*
*<parameter name="minptime" value="10"/>*
*</payload-type>*
*
but no change ignoring lines.

I do get
*rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level" id="1"/>*
should it be converted to
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level

that looks correct.

also what do i do with the line before that?
*<ssrc xmlns="http://estos.de/ns/ssrc" cname="mixed" msid="mixedmslabel
mixedlabelv0" mslabel="mixedmslabel" label="mixedlabelv0"
ssrc="3735928559"/>*
it seems like a modifier for a ssrc before it.

old cruft, should have been removed a while ago. Ignore it.

thank you again, as frustrating as this is i can not give up. i have to
get a connection working or this project may be cancelled.

jingle iq content

*<content creator="initiator" name="audio" senders="both">*
*<description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio"
ssrc="1914249563">*
*<payload-type id="111" name="opus" clockrate="48000" channels="2">*
*<parameter name="minptime" value="10"/>*
*</payload-type>*
*<payload-type id="103" name="ISAC" clockrate="16000" channels="1"/>*
*<payload-type id="104" name="ISAC" clockrate="32000" channels="1"/>*
*<payload-type id="0" name="PCMU" clockrate="8000" channels="1"/>*
*<payload-type id="8" name="PCMA" clockrate="8000" channels="1"/>*
*<payload-type id="106" name="CN" clockrate="32000" channels="1"/>*
*<payload-type id="105" name="CN" clockrate="16000" channels="1"/>*
*<payload-type id="13" name="CN" clockrate="8000" channels="1"/>*
*<payload-type id="126" name="telephone-event" clockrate="8000"
channels="1"/>*
*<source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="1914249563">*
*<parameter name="cname" value="hsFRiT0eh9dtHtV7"/>*
*<parameter name="msid" value="r3OWwiMMDcfwnwjvZngUTQVM25aiT3ABfkXJ
b662a0bd-08d4-4daa-95a5-cd16017e7a82"/>*
*<parameter name="mslabel" value="r3OWwiMMDcfwnwjvZngUTQVM25aiT3ABfkXJ"/>*
*<parameter name="label" value="b662a0bd-08d4-4daa-95a5-cd16017e7a82"/>*
*</source>*
*<source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="3735928559">*
*<parameter name="cname" value="mixed"/>*
*<parameter name="label" value="mixedlabelv0"/>*
*<parameter name="msid" value="mixedmslabel mixedlabelv0"/>*
*<parameter name="mslabel" value="mixedmslabel"/>*
*</source>*
**
*<ssrc xmlns="http://estos.de/ns/ssrc" cname="mixed" msid="mixedmslabel
mixedlabelv0" mslabel="mixedmslabel" label="mixedlabelv0"
ssrc="3735928559"/>*
*<rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level" id="1"/>*
**
*</description>*
*<transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" ufrag="dm24t"
pwd="2073s75ri9jakl0ja6bkk88av7">*
*<fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-1"
setup="actpass">72:2A:BA:AB:C8:86:09:D8:6C:78:EF:51:5A:57:DD:7B:45:78:9C:84</fingerprint>*
*<candidate foundation="1" component="1" protocol="udp"
priority="2130706431" ip="2002:902:37b8:0:0:0:902:37b8" port="5254"
type="host" generation="0" network="1" id="g16i0qarn4"/>*
*<candidate foundation="2" component="1" protocol="udp"
priority="2130706431" ip="9.2.55.184" port="5254" type="host"
generation="0" network="1" id="y1mvdhb0oo"/>*
*<candidate foundation="3" component="1" protocol="udp"
priority="2113937151" ip="fe80:0:0:0:e0e1:bee7:27dd:a0a1" port="5254"
type="host" generation="0" network="1" id="sfxksymq8s"/>*
*<candidate foundation="1" component="2" protocol="udp"
priority="2130706430" ip="2002:902:37b8:0:0:0:902:37b8" port="5255"
type="host" generation="0" network="1" id="7du56htaz0"/>*
*<candidate foundation="2" component="2" protocol="udp"
priority="2130706430" ip="9.2.55.184" port="5255" type="host"
generation="0" network="1" id="65024yio1n"/>*
*<candidate foundation="3" component="2" protocol="udp"
priority="2113937150" ip="fe80:0:0:0:e0e1:bee7:27dd:a0a1" port="5255"
type="host" generation="0" network="1" id="ww84ou7hw0"/>*
*</transport>*
*</content>*
*
*This is the resulting SDP i create*

*v=0*
*o=- 9135848008193788882 2 IN IP4 127.0.0.1*
*s=-*
*t=0 0*
*a=group:BUNDLE audio video*
*m=audio RTP/SAVPF 111 103 104 0 8 106 105 13 126*
*a=ice-ufrag:2i90s*
*a=ice-pwd:6caatftegnidh90mdpohhr38hq*
*a=candidate:1 1 udp 2130706431 2002:902:37b8:0:0:0:902:37b8 5399 typ host *
*a=candidate:2 1 udp 2130706431 9.2.55.184 5399 typ host *
*a=candidate:3 1 udp 2113937151 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5399 typ
host *
*a=candidate:1 2 udp 2130706430 2002:902:37b8:0:0:0:902:37b8 5400 typ host *
*a=candidate:2 2 udp 2130706430 9.2.55.184 5400 typ host *
*a=candidate:3 2 udp 2113937150 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5400 typ
host *

This looks like you have trailing whitespace here. The lines should be separated by CRLF

*a=mid:audio*
**** seems to ignore from here down ****

does it depend on the location of the a=mid line?
What happens if you move the candidates to the bottom (unless fixing the whitespace error helps already).

I don't see why https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/webrtcsdp.cc#2520 should fail to recognize those lines as attribute lines otherwise :-/

···

Am 06.11.2014 um 10:31 schrieb Peter Mycue: