EricssonResearch / openwebrtc

A cross-platform WebRTC client framework based on GStreamer
http://www.openwebrtc.org
BSD 2-Clause "Simplified" License
1.8k stars 537 forks source link

Media stream not established #587

Open urbaniak opened 8 years ago

urbaniak commented 8 years ago

There's an issue with SDP/media stream with iOS SDK.

Here's the SDP which sends the OpenWebRTCWebView on iOS simulator:


v=0
o=- 1457621193642351600 1 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic:WMS 4EzbTpBLazpky8tKTRmYejBliL4dK5RuyZdw
m=audio 51367 UDP/TLS/RTP/SAVPF 8
c=IN IP4 192.168.169.116
a=sendrecv
a=rtpmap:8 PCMA/8000
a=ssrc:2509185161 cname:nyBgeiubd33/6lnw
a=msid:4EzbTpBLazpky8tKTRmYejBliL4dK5RuyZdw FDxZ9bFzKCpErWf5RAMA3YyLbkyqUSQkQATt
a=ice-ufrag:07Ef
a=ice-pwd:5yrKm0vXiHu7sh0yR+qRVR
a=candidate:1 1 UDP 2013266431 192.168.169.116 51367 typ host
a=candidate:2 1 TCP 1019216383 192.168.169.116 9 typ host tcptype active
a=candidate:3 1 TCP 1015022079 192.168.169.116 50624 typ host tcptype passive
a=candidate:1 2 UDP 2013266430 192.168.169.116 56915 typ host
a=candidate:2 2 TCP 1019216382 192.168.169.116 9 typ host tcptype active
a=candidate:3 2 TCP 1015022078 192.168.169.116 50625 typ host tcptype passive
a=fingerprint:sha-256 07:06:6B:62:55:21:84:39:CF:6B:4C:DE:1A:5F:BB:19:87:5E:31:4C:EE:0E:FF:3F:A0:2C:B7:8C:CB:EE:60:DA
a=setup:active

Here's the SDP from same web app working correctly on the same machine with Chrome browser:

v=0
o=- 2936256010493683849 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS 2ilLSZRtoTH1ZK6y27a5KRZfHgKbpIFtWFIH
m=audio 49677 UDP/TLS/RTP/SAVPF 0 8 101
c=IN IP4 192.168.169.116
a=rtcp:64614 IN IP4 192.168.169.116
a=candidate:3906229402 1 udp 2122260223 192.168.169.116 49677 typ host generation 0
a=candidate:3906229402 2 udp 2122260222 192.168.169.116 64614 typ host generation 0
a=ice-ufrag:Rq/0qxudr5d54lsE
a=ice-pwd:9y+P9rQsz7ubWBmZdvYe3jAs
a=fingerprint:sha-256 0E:07:CE:48:48:7E:58:EB:FB:01:3A:11:B7:43:78:77:A4:96:B5:4A:46:F3:77:91:AC:63:44:97:52:07:4B:73
a=setup:active
a=mid:audio
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ssrc:252403116 cname:fi4iEa+bZkOTkzSj
a=ssrc:252403116 msid:2ilLSZRtoTH1ZK6y27a5KRZfHgKbpIFtWFIH 7f37984d-8197-4de5-abf8-2178506016a7
a=ssrc:252403116 mslabel:2ilLSZRtoTH1ZK6y27a5KRZfHgKbpIFtWFIH
a=ssrc:252403116 label:7f37984d-8197-4de5-abf8-2178506016a7

The webrtc handling in web app is done by newest version of sip.js library.

stefhak commented 8 years ago

Hi @urbaniak could you share some more info on what does not work? All I see above is two similar SDPs.