react-native-webrtc / react-native-webrtc

The WebRTC module for React Native
https://react-native-webrtc.discourse.group
MIT License
4.64k stars 1.24k forks source link

Partial working in local network #1362

Closed mastersam92 closed 1 year ago

mastersam92 commented 1 year ago

About working in local network without any internet connection: Stream works good when streaming device( transmitter ) and display device( receiver ) both connected to one network BUT none of them ran on device that sharing network.

I.e: Device "1" - connected to local WiFi Device "2" - connected to local WiFi Device "3" - share local WiFi for device 1 and 2 without Internet access

If try to stream from device 1 to device 2 - working If try to stream from device 2 to device 1 - working If try to stream OR receive stream on device 3 - not working

While try to receive stream on device 3 on log all seems OK - peer connections, tracks, etc But instead of some pictures from stream camera - just white screen. But before connections preview is black, after - white and seems as ready to show something but pictures isn't come

Similarly happens if try to stream or receive stream in app but with WebView( and "native" webview's webrtc )

As I think, it may be related to local address device that sharing network. It often 127.0.0.1 for local processes instead of 192.168.x.x for example. But in case serious problems with network address there would be problems with peer connections to, wouldn't there ?

What may be wrong and which workaround may be for this case ?

Expected Behavior

Success transmit and receive streaming

Observed Behavior

Not success

Steps to reproduce the issue

Share WiFi from device without internet access Connect other device Try to stream WebRTC from one device and receive on second or vice-versa

Platform Information

8BallBomBom commented 1 year ago

Sounds like a limitation caused by how tethering decides to locally network devices. It might not be giving uninterrupted access to the devices network. Maybe even all sorts of port restrictions.

Possibly out of scope.

mastersam92 commented 1 year ago

Sounds like a limitation caused by how tethering decides to locally network devices. It might not be giving uninterrupted access to the devices network. Maybe even all sorts of port restrictions.

Possibly out of scope.

Tested on( used ports: 30003 - for https, 30000 - for http ): Few devices with different Android versions On few iPhones with 14 and 16 iOS versions On PC and apple's computers both with Chrome and apple - with Safari

And always one thing: Stream transmit and receive not working on device which share local WiFi network( i.e working as Access Point ). The same device with the same app/webpage, but connected to network that share other device - work perfectly

Is there any known restrictions for it ?

Described case is simple to reproduce even if you have one device + PC

8BallBomBom commented 1 year ago

In a general sense there isn't any restrictions on our end. Simply just a case of whether both ends can communicate with one another within the environment they are in. Different tethering options have all sorts of restrictions/configurations which might not be ideal. Not to mention they could also be enforcing their own local NAT which means routing might be all sorts of wonky.

Try outputting some logs, see what the candidates look like, compare addresses.

saghul commented 1 year ago

What ICE candidates does each device gather? Log them please.

mastersam92 commented 1 year ago

What ICE candidates does each device gather? Log them please.

Architecture: Streamer app + signaling server( SocketIO ) together on some device, receiver connecting via IP

Log of success case( stream from Android, watch stream on Chrome, PC. Working in WiFi network from iPhone AP without internet connection ):

STREAMER ( https://172.20.10.7:30003/, socketIO ID: 2K2-4rl96e7_osfuAAAB ) ``` New Offer: { "type": "offer", "sdp": "v=0\r\no=- 8832859278472821371 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS 784c8391-afdc-42c8-95de-2374bee7852e\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 9 102 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Hpfy\r\na=ice-pwd:451WJzOmSft1scmoeCNxMQFe\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 2D:17:A6:BC:32:AB:2A:1B:88:97:14:E8:77:99:E7:F5:C5:4B:D8:24:11:4D:B7:43:76:63:35:35:D4:25:9C:39\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendrecv\r\na=msid:784c8391-afdc-42c8-95de-2374bee7852e 562e3b77-74d2-48be-a647-408989adf45b\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:102 ILBC/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1855328808 cname:HYdg3vI/CTHsLvnC\r\na=ssrc:1855328808 msid:784c8391-afdc-42c8-95de-2374bee7852e 562e3b77-74d2-48be-a647-408989adf45b\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 35 36 127 125 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Hpfy\r\na=ice-pwd:451WJzOmSft1scmoeCNxMQFe\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 2D:17:A6:BC:32:AB:2A:1B:88:97:14:E8:77:99:E7:F5:C5:4B:D8:24:11:4D:B7:43:76:63:35:35:D4:25:9C:39\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:784c8391-afdc-42c8-95de-2374bee7852e c8442cbd-c790-483f-89e5-58b687d5bb37\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:35 AV1/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:104 ulpfec/90000\r\na=ssrc-group:FID 2514958012 2968037562\r\na=ssrc:2514958012 cname:HYdg3vI/CTHsLvnC\r\na=ssrc:2514958012 msid:784c8391-afdc-42c8-95de-2374bee7852e c8442cbd-c790-483f-89e5-58b687d5bb37\r\na=ssrc:2968037562 cname:HYdg3vI/CTHsLvnC\r\na=ssrc:2968037562 msid:784c8391-afdc-42c8-95de-2374bee7852e c8442cbd-c790-483f-89e5-58b687d5bb37\r\n" } ``` ``` On onicecandidate: { "isTrusted": false, "candidate": { "candidate": "candidate:608829129 1 udp 2122260223 172.20.10.7 51529 typ host generation 0 ufrag Hpfy network-id 3 network-cost 10", "sdpMLineIndex": 0, "sdpMid": "0" } } ``` ``` On onicecandidate: { "isTrusted": false, "candidate": { "candidate": "candidate:608829129 1 udp 2122260223 172.20.10.7 47834 typ host generation 0 ufrag Hpfy network-id 3 network-cost 10", "sdpMLineIndex": 1, "sdpMid": "1" } } ``` ``` On offer answer: { from: 'aDcJVmnhUon2LNwlAAAF', answer: { type: 'answer', sdp: 'v=0\r\no=- 7777975385593994669 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:jkaj\r\na=ice-pwd:FhaGkSB8g/WuZubi24prdcJH\r\na=ice-options:trickle\r\na=fingerprint:sha-256 C6:53:44:58:06:2E:AF:4C:FA:99:C3:01:FB:37:B3:D8:DB:DA:F9:D4:C3:2B:39:56:3A:89:EC:22:E1:BE:49:B6\r\na=setup:active\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 35 36 127 125 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:jkaj\r\na=ice-pwd:FhaGkSB8g/WuZubi24prdcJH\r\na=ice-options:trickle\r\na=fingerprint:sha-256 C6:53:44:58:06:2E:AF:4C:FA:99:C3:01:FB:37:B3:D8:DB:DA:F9:D4:C3:2B:39:56:3A:89:EC:22:E1:BE:49:B6\r\na=setup:active\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:35 AV1/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:104 ulpfec/90000\r\n' } } ``` ``` On candid: { from: 'aDcJVmnhUon2LNwlAAAF', candid: { candidate: 'candidate:1402596528 1 udp 2113937151 0399b609-c4c6-4fe1-9240-32c56c21919a.local 59815 typ host generation 0 ufrag jkaj network-cost 999', sdpMid: '0', sdpMLineIndex: 0, usernameFragment: 'jkaj' } } ``` ``` On onicecandidate: { "isTrusted": false, "candidate": null } ```
WATCHER ( https://172.20.10.2:30003/, socketIO ID: aDcJVmnhUon2LNwlAAAF ) ``` on offer: { "from": "2K2-4rl96e7_osfuAAAB", "offer": { "type": "offer", "sdp": "v=0\r\no=- 8832859278472821371 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS 784c8391-afdc-42c8-95de-2374bee7852e\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 9 102 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Hpfy\r\na=ice-pwd:451WJzOmSft1scmoeCNxMQFe\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 2D:17:A6:BC:32:AB:2A:1B:88:97:14:E8:77:99:E7:F5:C5:4B:D8:24:11:4D:B7:43:76:63:35:35:D4:25:9C:39\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendrecv\r\na=msid:784c8391-afdc-42c8-95de-2374bee7852e 562e3b77-74d2-48be-a647-408989adf45b\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:102 ILBC/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1855328808 cname:HYdg3vI/CTHsLvnC\r\na=ssrc:1855328808 msid:784c8391-afdc-42c8-95de-2374bee7852e 562e3b77-74d2-48be-a647-408989adf45b\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 35 36 127 125 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Hpfy\r\na=ice-pwd:451WJzOmSft1scmoeCNxMQFe\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 2D:17:A6:BC:32:AB:2A:1B:88:97:14:E8:77:99:E7:F5:C5:4B:D8:24:11:4D:B7:43:76:63:35:35:D4:25:9C:39\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:784c8391-afdc-42c8-95de-2374bee7852e c8442cbd-c790-483f-89e5-58b687d5bb37\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:35 AV1/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:104 ulpfec/90000\r\na=ssrc-group:FID 2514958012 2968037562\r\na=ssrc:2514958012 cname:HYdg3vI/CTHsLvnC\r\na=ssrc:2514958012 msid:784c8391-afdc-42c8-95de-2374bee7852e c8442cbd-c790-483f-89e5-58b687d5bb37\r\na=ssrc:2968037562 cname:HYdg3vI/CTHsLvnC\r\na=ssrc:2968037562 msid:784c8391-afdc-42c8-95de-2374bee7852e c8442cbd-c790-483f-89e5-58b687d5bb37\r\n" } } ``` ``` on onicecandidate: { "candidate": { "candidate": "candidate:1402596528 1 udp 2113937151 0399b609-c4c6-4fe1-9240-32c56c21919a.local 59815 typ host generation 0 ufrag jkaj network-cost 999", "sdpMid": "0", "sdpMLineIndex": 0, "usernameFragment": "jkaj" }, "isTrusted": true } ``` ``` on onicecandidate: { "candidate": null, "isTrusted": true } ``` ``` on candid: { "from": "2K2-4rl96e7_osfuAAAB", "candid": { "candidate": "candidate:608829129 1 udp 2122260223 172.20.10.7 51529 typ host generation 0 ufrag Hpfy network-id 3 network-cost 10", "sdpMLineIndex": 0, "sdpMid": "0" } } ``` ``` on candid: { "from": "2K2-4rl96e7_osfuAAAB", "candid": { "candidate": "candidate:608829129 1 udp 2122260223 172.20.10.7 47834 typ host generation 0 ufrag Hpfy network-id 3 network-cost 10", "sdpMLineIndex": 1, "sdpMid": "1" } } ```

Unsuccess case. Streamer on device with WiFi AP. Signaling server hosted with streamer i.e on device with AP:

Streamer( https://192.168.43.142:30003/, SocketIO ID: 1F0SmzjM5Usvm-TAAAAB ) ``` New Offer: { "type": "offer", "sdp": "v=0\r\no=- 8223088615166372277 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 9 102 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R2os\r\na=ice-pwd:dw3uyL0JaWJSjf3DXPUGjGOC\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 29:18:51:2D:8E:84:EA:3F:79:66:54:92:E0:9B:9A:1E:9F:86:F0:BE:D1:1B:D4:CB:EE:4B:5D:85:78:18:ED:C4\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendrecv\r\na=msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc d5b9aa19-973e-49f6-b079-3928857a61fe\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:102 ILBC/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1467537347 cname:YjJwes0et/jk/vSS\r\na=ssrc:1467537347 msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc d5b9aa19-973e-49f6-b079-3928857a61fe\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 35 36 127 125 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R2os\r\na=ice-pwd:dw3uyL0JaWJSjf3DXPUGjGOC\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 29:18:51:2D:8E:84:EA:3F:79:66:54:92:E0:9B:9A:1E:9F:86:F0:BE:D1:1B:D4:CB:EE:4B:5D:85:78:18:ED:C4\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc 312c0a04-dba2-4023-9477-d97dcd2e9e41\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:35 AV1/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:104 ulpfec/90000\r\na=ssrc-group:FID 3539103578 4204478800\r\na=ssrc:3539103578 cname:YjJwes0et/jk/vSS\r\na=ssrc:3539103578 msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc 312c0a04-dba2-4023-9477-d97dcd2e9e41\r\na=ssrc:4204478800 cname:YjJwes0et/jk/vSS\r\na=ssrc:4204478800 msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc 312c0a04-dba2-4023-9477-d97dcd2e9e41\r\n" } ``` ``` On onicecandidate: { "isTrusted": false, "candidate": null } ``` ``` On offer answer: { from: 'ZIhSMpt6dH9seueEAAAD', answer: { type: 'answer', sdp: 'v=0\r\no=- 6970066960935878944 3 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:NUV6\r\na=ice-pwd:r+ZnJmsBjY8f8LGc1VvrbhI3\r\na=ice-options:trickle\r\na=fingerprint:sha-256 EA:69:EC:A2:6C:90:65:0B:F0:48:89:9E:02:79:98:66:E8:5A:2A:57:9E:F3:11:5D:7C:3D:4F:D1:AC:E7:EC:6D\r\na=setup:active\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 35 36 127 125 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:NUV6\r\na=ice-pwd:r+ZnJmsBjY8f8LGc1VvrbhI3\r\na=ice-options:trickle\r\na=fingerprint:sha-256 EA:69:EC:A2:6C:90:65:0B:F0:48:89:9E:02:79:98:66:E8:5A:2A:57:9E:F3:11:5D:7C:3D:4F:D1:AC:E7:EC:6D\r\na=setup:active\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:35 AV1/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:104 ulpfec/90000\r\n' } } ``` ``` On candid[ receive external candidate]: { from: 'ZIhSMpt6dH9seueEAAAD', candid: { candidate: 'candidate:3724057066 1 udp 2113937151 1dab84b9-1b42-4475-a792-e964453f80c0.local 55855 typ host generation 1 ufrag NUV6 network-cost 999', sdpMid: '0', sdpMLineIndex: 0, usernameFragment: 'NUV6' } } ```
Watcher ( https://192.168.43.219:30003/, SocketIO ID: ZIhSMpt6dH9seueEAAAD ) ``` on offer: { "from": "1F0SmzjM5Usvm-TAAAAB", "offer": { "type": "offer", "sdp": "v=0\r\no=- 8223088615166372277 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 9 102 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R2os\r\na=ice-pwd:dw3uyL0JaWJSjf3DXPUGjGOC\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 29:18:51:2D:8E:84:EA:3F:79:66:54:92:E0:9B:9A:1E:9F:86:F0:BE:D1:1B:D4:CB:EE:4B:5D:85:78:18:ED:C4\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendrecv\r\na=msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc d5b9aa19-973e-49f6-b079-3928857a61fe\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:102 ILBC/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1467537347 cname:YjJwes0et/jk/vSS\r\na=ssrc:1467537347 msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc d5b9aa19-973e-49f6-b079-3928857a61fe\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 35 36 127 125 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R2os\r\na=ice-pwd:dw3uyL0JaWJSjf3DXPUGjGOC\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 29:18:51:2D:8E:84:EA:3F:79:66:54:92:E0:9B:9A:1E:9F:86:F0:BE:D1:1B:D4:CB:EE:4B:5D:85:78:18:ED:C4\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc 312c0a04-dba2-4023-9477-d97dcd2e9e41\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:35 AV1/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:104 ulpfec/90000\r\na=ssrc-group:FID 3539103578 4204478800\r\na=ssrc:3539103578 cname:YjJwes0et/jk/vSS\r\na=ssrc:3539103578 msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc 312c0a04-dba2-4023-9477-d97dcd2e9e41\r\na=ssrc:4204478800 cname:YjJwes0et/jk/vSS\r\na=ssrc:4204478800 msid:bda38aa9-2349-4ba3-b6fe-9ca5c72abbbc 312c0a04-dba2-4023-9477-d97dcd2e9e41\r\n" } } ``` ``` on onicecandidate: { "candidate": { "candidate": "candidate:3724057066 1 udp 2113937151 1dab84b9-1b42-4475-a792-e964453f80c0.local 55855 typ host generation 1 ufrag NUV6 network-cost 999", "sdpMid": "0", "sdpMLineIndex": 0, "usernameFragment": "NUV6" }, "isTrusted": true } ``` ``` on onicecandidate: { "candidate": null, "isTrusted": true } ```
8BallBomBom commented 1 year ago

It would appear that the tethering environment is restricting candidate generation. Seems to be a local networking issue internally. Possibly due to an extra NAT layer or even some sort of isolation.