{"action":"created","issue":{"url":"https://api.github.com/repos/EricssonResearch/bowser/issues/53","labels_url":"https://api.github.com/repos/EricssonResearch/bowser/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/EricssonResearch/bowser/issues/53/comments","events_url":"https://api.github.com/repos/EricssonResearch/bowser/issues/53/events","html_url":"https://github.com/EricssonResearch/bowser/issues/53","id":107444752,"number":53,"title":"onaddstream never called","user":{"login":"pantaoran","id":7800702,"avatar_url":"https://avatars.githubusercontent.com/u/7800702?v=3","gravatar_id":"","url":"https://api.github.com/users/pantaoran","html_url":"https://github.com/pantaoran","followers_url":"https://api.github.com/users/pantaoran/followers","following_url":"https://api.github.com/users/pantaoran/following{/other_user}","gists_url":"https://api.github.com/users/pantaoran/gists{/gist_id}","starred_url":"https://api.github.com/users/pantaoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantaoran/subscriptions","organizations_url":"https://api.github.com/users/pantaoran/orgs","repos_url":"https://api.github.com/users/pantaoran/repos","events_url":"https://api.github.com/users/pantaoran/events{/privacy}","received_events_url":"https://api.github.com/users/pantaoran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-21T05:00:27Z","updated_at":"2015-09-22T07:45:34Z","closed_at":null,"body":"I've been debugging this for days now but can't figure it out. We are building a server that does some video processing on the video that clients send to it via WebRTC.\r\n\r\nAfter the SDP offer and answer are exchanged and the setRemoteDescription was called on the client (Bowser), I expect an onaddstream event so that I can attach the remote stream to my video element, but that event is never called. I made sure that my handler is attached correctly and waiting, but it's never called. This happens only on Bowser, on FF and Chrome everything happens as expected.\r\n\r\nHere are the SDP messages (I suppose it must have something to do with those). On Chrome for example they look different.\r\n\r\nBowser's offer:\r\nv=0\r\no=- 1442807039473499600 1 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=msid-semantic:WMS F+fGCqttcKBXfUsLIdWML4xXyM8gGTGFpG01\r\nm=audio 1 RTP/SAVPF 111 8 0\r\nc=IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=sendrecv\r\na=rtpmap:111 OPUS/48000/2\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\na=ssrc:3363789318 cname:user1957962398@host-8460443c\r\na=ssrc:3363789318 msid:F+fGCqttcKBXfUsLIdWML4xXyM8gGTGFpG01 pZvECFn0dXRZRT+BZzQ6ZfwQ9d+2ELO81S+Z\r\na=ice-ufrag:xVdc\r\na=ice-pwd:xc4CvnmGQqWBT2YjD5QgJz\r\na=candidate:19 1 UDP 2013266431 fe80::e864:66ff:fe5c:5f54 50283 typ host\r\na=fingerprint:sha-256 0F:05:9D:19:74:57:4C:A7:4C:1F:D1:A7:5B:95:F5:42:9C:19:D7:EA:C4:CC:72:34:49:A1:3C:94:E6:41:8C:76\r\na=setup:actpass\r\nm=video 61126 RTP/SAVPF 103 100 120\r\nc=IN IP4 192.168.0.128\r\na=rtcp:50280 IN IP4 192.168.0.128\r\na=rtcp-mux\r\na=sendrecv\r\na=rtpmap:103 H264/90000\r\na=rtpmap:100 VP8/90000\r\na=rtpmap:120 RTX/90000\r\na=fmtp:103 packetization-mode=1\r\na=fmtp:120 apt=100;rtx-time=200\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:103 nack pli\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:103 ccm fir\r\na=rtcp-fb:100 ccm fir\r\na=ssrc:2177512475 cname:user1957962398@host-8460443c\r\na=ssrc:2177512475 msid:F+fGCqttcKBXfUsLIdWML4xXyM8gGTGFpG01 jotyiYbInfwDlI31dQuwGs5RcHIuznTt+ggO\r\na=ice-ufrag:i93T\r\na=ice-pwd:1RTqS/xZ0F97gTehEbixct\r\na=candidate:10 1 UDP 2013266431 fe80::e864:66ff:fe5c:5f54 54152 typ host\r\na=candidate:11 1 TCP 1019216383 fe80::e864:66ff:fe5c:5f54 9 typ host tcptype active\r\na=candidate:12 1 TCP 1015022079 fe80::e864:66ff:fe5c:5f54 63778 typ host tcptype passive\r\na=candidate:13 1 UDP 2013266431 192.168.0.128 61126 typ host\r\na=candidate:14 1 TCP 1019216383 192.168.0.128 9 typ host tcptype active\r\na=candidate:15 1 TCP 1015022079 192.168.0.128 63780 typ host tcptype passive\r\na=candidate:16 1 UDP 2013266431 fe80::886:2c8a:72d3:b27e 50281 typ host\r\na=candidate:17 1 TCP 1019216383 fe80::886:2c8a:72d3:b27e 9 typ host tcptype active\r\na=candidate:18 1 TCP 1015022079 fe80::886:2c8a:72d3:b27e 63782 typ host tcptype passive\r\na=candidate:10 2 UDP 2013266430 fe80::e864:66ff:fe5c:5f54 54153 typ host\r\na=candidate:11 2 TCP 1019216382 fe80::e864:66ff:fe5c:5f54 9 typ host tcptype active\r\na=candidate:12 2 TCP 1015022078 fe80::e864:66ff:fe5c:5f54 63779 typ host tcptype passive\r\na=candidate:13 2 UDP 2013266430 192.168.0.128 50280 typ host\r\na=candidate:14 2 TCP 1019216382 192.168.0.128 9 typ host tcptype active\r\na=candidate:15 2 TCP 1015022078 192.168.0.128 63781 typ host tcptype passive\r\na=candidate:16 2 UDP 2013266430 fe80::886:2c8a:72d3:b27e 50282 typ host\r\na=candidate:17 2 TCP 1019216382 fe80::886:2c8a:72d3:b27e 9 typ host tcptype active\r\na=candidate:18 2 TCP 1015022078 fe80::886:2c8a:72d3:b27e 63783 typ host tcptype passive\r\na=fingerprint:sha-256 0F:05:9D:19:74:57:4C:A7:4C:1F:D1:A7:5B:95:F5:42:9C:19:D7:EA:C4:CC:72:34:49:A1:3C:94:E6:41:8C:76\r\na=setup:actpass\r\nm=application 54150 DTLS/SCTP 5000\r\nc=IN IP4 192.168.0.128\r\na=sendrecv\r\na=ice-ufrag:pNu8\r\na=ice-pwd:gcQrmt7D5o3g4NVzI08sos\r\na=candidate:1 1 UDP 2013266431 fe80::e864:66ff:fe5c:5f54 54308 typ host\r\na=candidate:2 1 TCP 1019216383 fe80::e864:66ff:fe5c:5f54 9 typ host tcptype active\r\na=candidate:3 1 TCP 1015022079 fe80::e864:66ff:fe5c:5f54 63775 typ host tcptype passive\r\na=candidate:4 1 UDP 2013266431 192.168.0.128 54150 typ host\r\na=candidate:5 1 TCP 1019216383 192.168.0.128 9 typ host tcptype active\r\na=candidate:6 1 TCP 1015022079 192.168.0.128 63776 typ host tcptype passive\r\na=candidate:7 1 UDP 2013266431 fe80::886:2c8a:72d3:b27e 54151 typ host\r\na=candidate:8 1 TCP 1019216383 fe80::886:2c8a:72d3:b27e 9 typ host tcptype active\r\na=candidate:9 1 TCP 1015022079 fe80::886:2c8a:72d3:b27e 63777 typ host tcptype passive\r\na=fingerprint:sha-256 0F:05:9D:19:74:57:4C:A7:4C:1F:D1:A7:5B:95:F5:42:9C:19:D7:EA:C4:CC:72:34:49:A1:3C:94:E6:41:8C:76\r\na=setup:actpass\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n\r\n\r\nServer answer:\r\n\r\nv=0\r\no=- 6072310859396819853 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS stream\r\nm=audio 9 RTP/SAVPF 111 8 0\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:okovvEM0l16vrnz+\r\na=ice-pwd:S/krXmc+Z4lb/ymNUNI2zzNg\r\na=fingerprint:sha-256 5C:E6:6B:C6:5A:9A:E3:B1:63:0E:3C:A1:26:CE:CC:5B:92:0F:EF:6D:E1:2A:A9:E6:6E:71:67:E4:2E:B3:AD:CC\r\na=setup:active\r\na=mid:audio\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10; useinbandfec=1\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\na=maxptime:60\r\nm=video 9 RTP/SAVPF 100 120\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:wUxPz7k7sbjNCSzA\r\na=ice-pwd:0P84nOudZszipWr24T0CtZNp\r\na=fingerprint:sha-256 5C:E6:6B:C6:5A:9A:E3:B1:63:0E:3C:A1:26:CE:CC:5B:92:0F:EF:6D:E1:2A:A9:E6:6E:71:67:E4:2E:B3:AD:CC\r\na=setup:active\r\na=mid:video\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:100 VP8/90000\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=100\r\na=ssrc-group:FID 887725331 3859995201\r\na=ssrc:887725331 cname:yf6wM/0S+1bFCmDJ\r\na=ssrc:887725331 msid:stream video\r\na=ssrc:887725331 mslabel:stream\r\na=ssrc:887725331 label:video\r\na=ssrc:3859995201 cname:yf6wM/0S+1bFCmDJ\r\na=ssrc:3859995201 msid:stream video\r\na=ssrc:3859995201 mslabel:stream\r\na=ssrc:3859995201 label:video\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:EjZEUl43cdDDR12/\r\na=ice-pwd:HljuqfGkPplx/wynIEQPGrIz\r\na=fingerprint:sha-256 5C:E6:6B:C6:5A:9A:E3:B1:63:0E:3C:A1:26:CE:CC:5B:92:0F:EF:6D:E1:2A:A9:E6:6E:71:67:E4:2E:B3:AD:CC\r\na=setup:active\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024"},"comment":{"url":"https://api.github.com/repos/EricssonResearch/bowser/issues/comments/142204239","html_url":"https://github.com/EricssonResearch/bowser/issues/53#issuecomment-142204239","issue_url":"https://api.github.com/repos/EricssonResearch/bowser/issues/53","id":142204239,"user":{"login":"Firegarden","id":640315,"avatar_url":"https://avatars.githubusercontent.com/u/640315?v=3","gravatar_id":"","url":"https://api.github.com/users/Firegarden","html_url":"https://github.com/Firegarden","followers_url":"https://api.github.com/users/Firegarden/followers","following_url":"https://api.github.com/users/Firegarden/following{/other_user}","gists_url":"https://api.github.com/users/Firegarden/gists{/gist_id}","starred_url":"https://api.github.com/users/Firegarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Firegarden/subscriptions","organizations_url":"https://api.github.com/users/Firegarden/orgs","repos_url":"https://api.github.com/users/Firegarden/repos","events_url":"https://api.github.com/users/Firegarden/events{/privacy}","received_events_url":"https://api.github.com/users/Firegarden/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T07:45:34Z","updated_at":"2015-09-22T07:45:34Z","body":"Jolly good sir. Good show. For he's a jolly good fellow, for he's a jolly good fellow\r\nFor he's a jolly good fellow (pause), and so say all of us\r\nAnd so say all of us, and so say all of us\r\nFor he's a jolly good fellow, for he's a jolly good fellow\r\nFor he's a jolly good fellow (pause), and so say all of us!"}}