New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 4101 link

Starred by 10 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Renegotiation of a session fails if the renegotiated offer carries a different port than the initial offer.

Reported by gaurav.g...@gmail.com, Dec 16 2014

Issue description

What steps will reproduce the problem?
1.Set up a browser to browser Audio + video call 

A (Offerer SDP)

type: offer, sdp: v=0
o=- 9142306594452353764 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS Wxg0OjO7FstdX8gUUif9uHODaoMbLIPSH6b4
m=audio 12203 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
c=IN IP4 121.242.142.135
a=rtcp:12203 IN IP4 121.242.142.135
a=candidate:1246704109 1 udp 2122260223 10.70.54.92 61736 typ host generation 0
a=candidate:1246704109 2 udp 2122260223 10.70.54.92 61736 typ host generation 0
a=candidate:80530717 1 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:80530717 2 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:3809525304 1 udp 1686052607 121.242.142.135 12203 typ srflx raddr 10.70.54.92 rport 61736 generation 0
a=candidate:3809525304 2 udp 1686052607 121.242.142.135 12203 typ srflx raddr 10.70.54.92 rport 61736 generation 0
a=ice-ufrag:uVBgWKIXN1frqMa1
a=ice-pwd:MpZSDB+GRbw44bm3RyCc01Cd
a=ice-options:google-ice
a=fingerprint:sha-256 49:BB:F9:B5:26:D8:5F:25:EE:96:E5:68:82:8A:04:BB:00:F7:6F:72:88:21:66:DA:44:54:79:0E:00:53:FE:61
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
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=maxptime:60
a=ssrc:2324143907 cname:7CFDcSABfSFQQ5m7
a=ssrc:2324143907 msid:Wxg0OjO7FstdX8gUUif9uHODaoMbLIPSH6b4 a05d9bdf-0010-46d9-8065-d797861ed8bc
a=ssrc:2324143907 mslabel:Wxg0OjO7FstdX8gUUif9uHODaoMbLIPSH6b4
a=ssrc:2324143907 label:a05d9bdf-0010-46d9-8065-d797861ed8bc
m=video 12203 RTP/SAVPF 100 116 117 96
c=IN IP4 121.242.142.135
a=rtcp:12203 IN IP4 121.242.142.135
a=candidate:1246704109 1 udp 2122260223 10.70.54.92 61736 typ host generation 0
a=candidate:1246704109 2 udp 2122260223 10.70.54.92 61736 typ host generation 0
a=candidate:80530717 1 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:80530717 2 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:3809525304 1 udp 1686052607 121.242.142.135 12203 typ srflx raddr 10.70.54.92 rport 61736 generation 0
a=candidate:3809525304 2 udp 1686052607 121.242.142.135 12203 typ srflx raddr 10.70.54.92 rport 61736 generation 0
a=ice-ufrag:uVBgWKIXN1frqMa1
a=ice-pwd:MpZSDB+GRbw44bm3RyCc01Cd
a=ice-options:google-ice
a=fingerprint:sha-256 49:BB:F9:B5:26:D8:5F:25:EE:96:E5:68:82:8A:04:BB:00:F7:6F:72:88:21:66:DA:44:54:79:0E:00:53:FE:61
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100
a=ssrc-group:FID 3852376971 268599446
a=ssrc:3852376971 cname:7CFDcSABfSFQQ5m7
a=ssrc:3852376971 msid:Wxg0OjO7FstdX8gUUif9uHODaoMbLIPSH6b4 49c1207c-406e-4690-9e32-d32dc0577c4b
a=ssrc:3852376971 mslabel:Wxg0OjO7FstdX8gUUif9uHODaoMbLIPSH6b4
a=ssrc:3852376971 label:49c1207c-406e-4690-9e32-d32dc0577c4b
a=ssrc:268599446 cname:7CFDcSABfSFQQ5m7
a=ssrc:268599446 msid:Wxg0OjO7FstdX8gUUif9uHODaoMbLIPSH6b4 49c1207c-406e-4690-9e32-d32dc0577c4b
a=ssrc:268599446 mslabel:Wxg0OjO7FstdX8gUUif9uHODaoMbLIPSH6b4
a=ssrc:268599446 label:49c1207c-406e-4690-9e32-d32dc0577c4b



B (Answerer SDP)

type: answer, sdp: v=0
o=- 4101640551523945153 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS bfG0v5DUZnwTcA6QgJqeuUydfsP5ma0I1V8M
m=audio 10617 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
c=IN IP4 121.242.142.135
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:308864085 1 udp 2122260223 10.70.54.55 51781 typ host generation 0
a=candidate:1558911141 1 tcp 1518280447 10.70.54.55 0 typ host tcptype active generation 0
a=candidate:3140971392 1 udp 1686052607 121.242.142.135 10617 typ srflx raddr 10.70.54.55 rport 51781 generation 0
a=ice-ufrag:RZgizkQtAzD2RtnW
a=ice-pwd:jqlzQ3iFD388MR7AgG8IfAha
a=fingerprint:sha-256 9E:74:47:A3:49:F7:86:E9:FE:86:24:2C:D8:66:1F:43:E1:12:42:C7:5D:7E:22:86:E2:87:08:FD:A1:89:51:81
a=setup:active
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
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=maxptime:60
a=ssrc:4182327366 cname:yz9bGH4zgsjRqGN2
a=ssrc:4182327366 msid:bfG0v5DUZnwTcA6QgJqeuUydfsP5ma0I1V8M 1a4824ef-e79a-4f01-b434-16801d21294f
a=ssrc:4182327366 mslabel:bfG0v5DUZnwTcA6QgJqeuUydfsP5ma0I1V8M
a=ssrc:4182327366 label:1a4824ef-e79a-4f01-b434-16801d21294f
m=video 10617 RTP/SAVPF 100 116 117 96
c=IN IP4 121.242.142.135
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:308864085 1 udp 2122260223 10.70.54.55 51781 typ host generation 0
a=candidate:1558911141 1 tcp 1518280447 10.70.54.55 0 typ host tcptype active generation 0
a=candidate:3140971392 1 udp 1686052607 121.242.142.135 10617 typ srflx raddr 10.70.54.55 rport 51781 generation 0
a=ice-ufrag:RZgizkQtAzD2RtnW
a=ice-pwd:jqlzQ3iFD388MR7AgG8IfAha
a=fingerprint:sha-256 9E:74:47:A3:49:F7:86:E9:FE:86:24:2C:D8:66:1F:43:E1:12:42:C7:5D:7E:22:86:E2:87:08:FD:A1:89:51:81
a=setup:active
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100
a=ssrc-group:FID 4118670300 2110666910
a=ssrc:4118670300 cname:yz9bGH4zgsjRqGN2
a=ssrc:4118670300 msid:bfG0v5DUZnwTcA6QgJqeuUydfsP5ma0I1V8M 0c6829fe-a636-4fa7-82d6-ac17aef7556d
a=ssrc:4118670300 mslabel:bfG0v5DUZnwTcA6QgJqeuUydfsP5ma0I1V8M
a=ssrc:4118670300 label:0c6829fe-a636-4fa7-82d6-ac17aef7556d
a=ssrc:2110666910 cname:yz9bGH4zgsjRqGN2
a=ssrc:2110666910 msid:bfG0v5DUZnwTcA6QgJqeuUydfsP5ma0I1V8M 0c6829fe-a636-4fa7-82d6-ac17aef7556d
a=ssrc:2110666910 mslabel:bfG0v5DUZnwTcA6QgJqeuUydfsP5ma0I1V8M
a=ssrc:2110666910 label:0c6829fe-a636-4fa7-82d6-ac17aef7556d


 
2.Rehydrate the existing session from A.

That is recreate the peer connection object from A's browser on browser refresh and make an offer to B With Audio/Video.

As expected, a new sdp is formed and sent to B

A's new Offer SDP

type: offer, sdp: v=0
o=- 3247618014516023883 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS meCcWd8DbYTJJLD8nEheZwo7Srdw8BWV9uY9
m=audio 6459 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
c=IN IP4 121.242.142.135
a=rtcp:6459 IN IP4 121.242.142.135
a=candidate:1246704109 1 udp 2122260223 10.70.54.92 53870 typ host generation 0
a=candidate:1246704109 2 udp 2122260223 10.70.54.92 53870 typ host generation 0
a=candidate:80530717 1 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:80530717 2 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:3809525304 1 udp 1686052607 121.242.142.135 6459 typ srflx raddr 10.70.54.92 rport 53870 generation 0
a=candidate:3809525304 2 udp 1686052607 121.242.142.135 6459 typ srflx raddr 10.70.54.92 rport 53870 generation 0
a=ice-ufrag:ThqXfA1cwXJwpWL2
a=ice-pwd:1sDCBePLKFsBHuFlXqiipeam
a=ice-options:google-ice
a=fingerprint:sha-256 49:BB:F9:B5:26:D8:5F:25:EE:96:E5:68:82:8A:04:BB:00:F7:6F:72:88:21:66:DA:44:54:79:0E:00:53:FE:61
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
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=maxptime:60
a=ssrc:698463572 cname:LEBJLojSBLKLgAAY
a=ssrc:698463572 msid:meCcWd8DbYTJJLD8nEheZwo7Srdw8BWV9uY9 36f26415-c497-450c-a2bd-fc4680568605
a=ssrc:698463572 mslabel:meCcWd8DbYTJJLD8nEheZwo7Srdw8BWV9uY9
a=ssrc:698463572 label:36f26415-c497-450c-a2bd-fc4680568605
m=video 6459 RTP/SAVPF 100 116 117 96
c=IN IP4 121.242.142.135
a=rtcp:6459 IN IP4 121.242.142.135
a=candidate:1246704109 1 udp 2122260223 10.70.54.92 53870 typ host generation 0
a=candidate:1246704109 2 udp 2122260223 10.70.54.92 53870 typ host generation 0
a=candidate:80530717 1 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:80530717 2 tcp 1518280447 10.70.54.92 0 typ host tcptype active generation 0
a=candidate:3809525304 1 udp 1686052607 121.242.142.135 6459 typ srflx raddr 10.70.54.92 rport 53870 generation 0
a=candidate:3809525304 2 udp 1686052607 121.242.142.135 6459 typ srflx raddr 10.70.54.92 rport 53870 generation 0
a=ice-ufrag:ThqXfA1cwXJwpWL2
a=ice-pwd:1sDCBePLKFsBHuFlXqiipeam
a=ice-options:google-ice
a=fingerprint:sha-256 49:BB:F9:B5:26:D8:5F:25:EE:96:E5:68:82:8A:04:BB:00:F7:6F:72:88:21:66:DA:44:54:79:0E:00:53:FE:61
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100
a=ssrc-group:FID 3542184520 3503477412
a=ssrc:3542184520 cname:LEBJLojSBLKLgAAY
a=ssrc:3542184520 msid:meCcWd8DbYTJJLD8nEheZwo7Srdw8BWV9uY9 2ddfb311-989e-481d-b7f6-ebcf3702826c
a=ssrc:3542184520 mslabel:meCcWd8DbYTJJLD8nEheZwo7Srdw8BWV9uY9
a=ssrc:3542184520 label:2ddfb311-989e-481d-b7f6-ebcf3702826c
a=ssrc:3503477412 cname:LEBJLojSBLKLgAAY
a=ssrc:3503477412 msid:meCcWd8DbYTJJLD8nEheZwo7Srdw8BWV9uY9 2ddfb311-989e-481d-b7f6-ebcf3702826c
a=ssrc:3503477412 mslabel:meCcWd8DbYTJJLD8nEheZwo7Srdw8BWV9uY9
a=ssrc:3503477412 label:2ddfb311-989e-481d-b7f6-ebcf3702826c


B still uses the same peer connection object and sets remote description. Generates a renegotiated answer and sends it back to A

B's Answer

type: answer, sdp: v=0
o=- 4101640551523945153 3 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS qZcUothyM2xQ0HIBKtbtyohFVdwx3cN1ca0Y
m=audio 55816 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
c=IN IP4 121.242.142.135
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:308864085 1 udp 2122260223 10.70.54.55 50845 typ host generation 1
a=candidate:1558911141 1 tcp 1518280447 10.70.54.55 0 typ host tcptype active generation 1
a=candidate:3140971392 1 udp 1686052607 121.242.142.135 55816 typ srflx raddr 10.70.54.55 rport 50845 generation 1
a=ice-ufrag:Ds+CBBtfdUIAWP5T
a=ice-pwd:t2K2hq+aIoKYciZwChM78/eb
a=fingerprint:sha-256 9E:74:47:A3:49:F7:86:E9:FE:86:24:2C:D8:66:1F:43:E1:12:42:C7:5D:7E:22:86:E2:87:08:FD:A1:89:51:81
a=setup:active
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
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=maxptime:60
a=ssrc:1465152231 cname:fdcIKppVxI41r031
a=ssrc:1465152231 msid:qZcUothyM2xQ0HIBKtbtyohFVdwx3cN1ca0Y d49f181d-ac34-4297-b631-36fdd20d49ea
a=ssrc:1465152231 mslabel:qZcUothyM2xQ0HIBKtbtyohFVdwx3cN1ca0Y
a=ssrc:1465152231 label:d49f181d-ac34-4297-b631-36fdd20d49ea
m=video 55816 RTP/SAVPF 100 116 117 96
c=IN IP4 121.242.142.135
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:308864085 1 udp 2122260223 10.70.54.55 50845 typ host generation 1
a=candidate:1558911141 1 tcp 1518280447 10.70.54.55 0 typ host tcptype active generation 1
a=candidate:3140971392 1 udp 1686052607 121.242.142.135 55816 typ srflx raddr 10.70.54.55 rport 50845 generation 1
a=ice-ufrag:Ds+CBBtfdUIAWP5T
a=ice-pwd:t2K2hq+aIoKYciZwChM78/eb
a=fingerprint:sha-256 9E:74:47:A3:49:F7:86:E9:FE:86:24:2C:D8:66:1F:43:E1:12:42:C7:5D:7E:22:86:E2:87:08:FD:A1:89:51:81
a=setup:active
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100
a=ssrc-group:FID 232314019 2056296069
a=ssrc:232314019 cname:fdcIKppVxI41r031
a=ssrc:232314019 msid:qZcUothyM2xQ0HIBKtbtyohFVdwx3cN1ca0Y 9cf3700e-887c-4a95-a424-182d4103068f
a=ssrc:232314019 mslabel:qZcUothyM2xQ0HIBKtbtyohFVdwx3cN1ca0Y
a=ssrc:232314019 label:9cf3700e-887c-4a95-a424-182d4103068f
a=ssrc:2056296069 cname:fdcIKppVxI41r031
a=ssrc:2056296069 msid:qZcUothyM2xQ0HIBKtbtyohFVdwx3cN1ca0Y 9cf3700e-887c-4a95-a424-182d4103068f
a=ssrc:2056296069 mslabel:qZcUothyM2xQ0HIBKtbtyohFVdwx3cN1ca0Y
a=ssrc:2056296069 label:9cf3700e-887c-4a95-a424-182d4103068f

3. Signaling state goes to stable on both sides and set remote description succeeds at both sides as well. Assuming that signaling has done its job here.

A's ice connection state goes to checking 
B's ice connection state goes to connected. 
There is no Audio/Video flowing.

What is the expected result?

As per RFC , a renegotiation can be done with different ports. B's chrome should treat this new offer as a renegotiated offer and media should flow after signalling. Looks like something related to iceconnection is messed up when the ports are changed in the renegotation.

Could anyone look in to this issue

What do you see instead?

No Audio/video after renegotiation.


What version of the product are you using? On what operating system?

Version 41.0.2250.0 chrome canary (Latest) Windows 7 32 bit operating system.

Please provide any additional information below.

Attaching Dumps from both sides for reference.


 
A's side DUMP.txt
1.4 MB View Download
B's DUMP.txt
3.5 MB View Download
Project Member

Comment 1 by juberti@webrtc.org, Dec 16 2014

Labels: Area-PeerConnection
Owner: pthatcher@webrtc.org
Interesting. Can you make a JSFiddle that demonstrates this problem?
Project Member

Comment 2 by pthatcher@webrtc.org, Dec 22 2014

Labels: EngTriaged Mstone-42
Project Member

Comment 3 by pthatcher@webrtc.org, Feb 19 2015

Labels: -Mstone-42 Mstone-44
This looks like it's not going to hit M42.  Update it if I'm wrong.
Project Member

Comment 4 by tnakamura@webrtc.org, Jan 29 2016

Labels: -Mstone-44
I don't see any CLs linked to this bug, so I don't think it's been fixed. I'm therefore leaving this in an open state, but I am removing the milestone label since this bug hasn't been updated in quite some time.
Project Member

Comment 5 by pthatcher@webrtc.org, Nov 8 2016

Labels: Pri-3
Project Member

Comment 6 by anatolid@chromium.org, Dec 5 2016

Status: Assigned (was: Unconfirmed)
[bulk-edit] This issue appears to have been triaged (as evidenced by the presence of the EngTriaged label) and also has an Owner -- hence, changing its status to Assigned. If the currently set Owner is wrong, then please re-assign to a correct Owner, or remove Owner and set status to Available.

Sign in to add a comment