[jitsi-dev] iOS webrtc


#1

Hello,

I am still forging ahead on the ios jingle webrtc code. I keep getting closer but still not there. i am still constructing the sdp from jingle. Thanks to phillipp
I got the fingerprint added and that helped, i noticed a couple other parts that were not being processed right and now i generate this. There is clearly
something still wrong because it is ignoring most of it and failing.

the sdp is below, and the output is right after.

SDP SO FAR IS
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:e80fo
a=ice-pwd:57op434eh457oum8fe2gn9o2mo
a=candidate:1 1 udp 2130706431 2002:902:37b8:0:0:0:902:37b8 5359 typ host
a=candidate:2 1 udp 2130706431 9.2.55.184 5359 typ host
a=candidate:3 1 udp 2113937151 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5359 typ host
a=candidate:1 2 udp 2130706430 2002:902:37b8:0:0:0:902:37b8 5360 typ host
a=candidate:2 2 udp 2130706430 9.2.55.184 5360 typ host
a=candidate:3 2 udp 2113937150 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5360 typ host
a=sendrecv
a=mid:audio
a=rtpmap:111 opus/48000opus
a=rtpmap:103 ISAC/16000ISAC
a=rtpmap:104 ISAC/32000ISAC
a=rtpmap:0 PCMU/8000PCMU
a=rtpmap:8 PCMA/8000PCMA
a=rtpmap:106 CN/32000CN
a=rtpmap:105 CN/16000CN
a=rtpmap:13 CN/8000CN
a=rtpmap:126 telephone-event/8000telephone-event
a=ssrc:1505463322 cname:6IVl8oO+rF6p3oAi
a=ssrc:1505463322 msid:Ji5HVTyO3vAprIERrnfQh29IcuqBuKvgexr4 7075601e-0ceb-48e3-b13d-ea8a9324f160
a=ssrc:1505463322 mslabel:Ji5HVTyO3vAprIERrnfQh29IcuqBuKvgexr4
a=ssrc:1505463322 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 CF:14:DB:C5:88:1F:B9:B7:2E:0F:16:D0:4E:30:70:3E:37:A4:6B:2E
a=rtcp-mux
m=video RTP/SAVPF 100 116 117
a=ice-ufrag:30487
a=ice-pwd:6hm27lrqfnfbdaiggice1dbq0t
a=candidate:1 1 udp 2130706431 2002:902:37b8:0:0:0:902:37b8 5363 typ host
a=candidate:2 1 udp 2130706431 9.2.55.184 5363 typ host
a=candidate:3 1 udp 2113937151 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5363 typ host
a=candidate:1 2 udp 2130706430 2002:902:37b8:0:0:0:902:37b8 5364 typ host
a=candidate:2 2 udp 2130706430 9.2.55.184 5364 typ host
a=candidate:3 2 udp 2113937150 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5364 typ host
a=sendrecv
a=mid:audio
a=rtpmap:100 VP8/90000VP8
a=rtpmap:116 red/90000red
a=rtpmap:117 ulpfec/90000ulpfec
a=ssrc:2720112294 cname:UBYyzMv69+mC08Vw
a=ssrc:2720112294 msid:ABDQ3PByI8HAsSw1db2nRU7rlpzEzCB22Ohe 45ed8da3-32fd-4580-86a5-34233abcb46c
a=ssrc:2720112294 mslabel:ABDQ3PByI8HAsSw1db2nRU7rlpzEzCB22Ohe
a=ssrc:2720112294 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 2B:2F:17:C7:3A:52:53:A7:F6:27:D0:D9:1F:C0:6C:4C:F9:AD:FF:5F
a=rtcp-mux

I am getting this output. there is clearly something missing and it is ignoring most of the sdp
2014-11-06 11:37:26.407 AppRTCDemo[3195:978466] PC - setRemoteDescription.
2014-11-06 11:37:27.698 AppRTCDemo[3195:978466] No ISAC/16000 line, so can't prefer iSAC
Ignored line: a=sendrecv
Ignored line: a=rtpmap:111 opus/48000opus
Ignored line: a=rtpmap:103 ISAC/16000ISAC
Ignored line: a=rtpmap:104 ISAC/32000ISAC
Ignored line: a=rtpmap:0 PCMU/8000PCMU
Ignored line: a=rtpmap:8 PCMA/8000PCMA
Ignored line: a=rtpmap:106 CN/32000CN
Ignored line: a=rtpmap:105 CN/16000CN
Ignored line: a=rtpmap:13 CN/8000CN
Ignored line: a=rtpmap:126 telephone-event/8000telephone-event
Ignored line: a=ssrc:1505463322 cname:6IVl8oO+rF6p3oAi
Ignored line: a=ssrc:1505463322 msid:Ji5HVTyO3vAprIERrnfQh29IcuqBuKvgexr4 7075601e-0ceb-48e3-b13d-ea8a9324f160
Ignored line: a=ssrc:1505463322 mslabel:Ji5HVTyO3vAprIERrnfQh29IcuqBuKvgexr4
Ignored line: a=ssrc:1505463322 label:7075601e-0ceb-48e3-b13d-ea8a9324f160
Ignored line: a=ssrc:3735928559 cname:mixed
Ignored line: a=ssrc:3735928559 label:mixedlabelv0
Ignored line: a=ssrc:3735928559 msid:mixedmslabel mixedlabelv0
Ignored line: a=ssrc:3735928559 mslabel:mixedmslabel
Ignored line: a=rtcp-mux
Ignored line: a=sendrecv
Ignored line: a=rtpmap:100 VP8/90000VP8
Ignored line: a=rtpmap:116 red/90000red
Ignored line: a=rtpmap:117 ulpfec/90000ulpfec
Ignored line: a=ssrc:2720112294 cname:UBYyzMv69+mC08Vw
Ignored line: a=ssrc:2720112294 msid:ABDQ3PByI8HAsSw1db2nRU7rlpzEzCB22Ohe 45ed8da3-32fd-4580-86a5-34233abcb46c
Ignored line: a=ssrc:2720112294 mslabel:ABDQ3PByI8HAsSw1db2nRU7rlpzEzCB22Ohe
Ignored line: a=ssrc:2720112294 label:45ed8da3-32fd-4580-86a5-34233abcb46c
Ignored line: a=ssrc:3735928559 cname:mixed
Ignored line: a=ssrc:3735928559 label:mixedlabelv0
Ignored line: a=ssrc:3735928559 msid:mixedmslabel mixedlabelv0
Ignored line: a=ssrc:3735928559 mslabel:mixedmslabel
Ignored line: a=rtcp-mux
Error(webrtcsdp.cc:357): Failed to parse: "". Reason: Failed to AddTransportInfo with content name: audio

any suggestions?

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772


#2

remove the last opus (same for all other rtpmap lines). You should add the channel if it is set, two channels is mandatory for opus. Not sure why it would ignore the other lines, those are looking good to me.

ยทยทยท

Am 06.11.2014 um 08:42 schrieb Peter Mycue:

**
*a=rtpmap:111 opus/48000opus*