No Video is displaying on Android WebRTC app when is getting offer from iPhone safari (v12.4.1)

516 views
Skip to first unread message

Zion Cohen

unread,
Sep 22, 2019, 4:05:02 PM9/22/19
to discuss-webrtc
Hi All,

I have native android WebRTC application and javascript WebRTC site which is communicating very well using JAVA Signaling Server. 
it working almost over all platforms beside iPhone !

1) Sending offer from Windows Chrome to Android app is Working very well - 100% connectivity rate !

2) Sending offer from MAC Chrome to Android app is Working very well - 100% connectivity rate !

3) Sending offer from MAC Safari  to Android app is Working very well  - almost 100% connectivity rate !

4) Sending offer from iPhone (iOS V12.4.1) Safari  to Android app IS NOT WORKING ! the connectivity rate is about 50% and 50% of the times that it is connected, it got disconnected in few seconds.  in the cases that i have successfully connection, the iPhone is getting the sound and video from the android device, but the android device is not able to present the video from the iPhone at all and sound is appears on android device only at 50% of the cases.

At all my tests i am using exactly the same code and same WIFI networks on both sides, so there should not be any issue with the STUN/TURN servers.

i am thinking that the only issue that can be impact the pure result beween iPhone and Android is the video/audio codec but i am not sure.
Can any advice what is the problem???

here is SDP of all APPLE platforms.

iPhone offer
v=0
o=- 803940199108257260 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS fc9fdf09-ede3-4b20-aabb-6f46b60cbec0
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 102 0 8 105 13 110 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:4JGE
a=ice-pwd:9Hj1AAdUZPGVPYFGtfG7BcqX
a=ice-options:trickle
a=fingerprint:sha-256 1B:B6:D6:BC:99:0C:1A:D8:71:23:0B:F0:CC:DA:8B:66:7D:17:EF:A9:9D:AD:A4:94:A0:88:FB:65:06:13:25:F6
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=msid:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0 b03169fc-8cfa-4da4-86fd-884d26170f30
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:800827034 cname:D/HAxMFZgLa/Wguu
a=ssrc:800827034 msid:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0 b03169fc-8cfa-4da4-86fd-884d26170f30
a=ssrc:800827034 mslabel:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0
a=ssrc:800827034 label:b03169fc-8cfa-4da4-86fd-884d26170f30
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 125 104
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:4JGE
a=ice-pwd:9Hj1AAdUZPGVPYFGtfG7BcqX
a=ice-options:trickle
a=fingerprint:sha-256 1B:B6:D6:BC:99:0C:1A:D8:71:23:0B:F0:CC:DA:8B:66:7D:17:EF:A9:9D:AD:A4:94:A0:88:FB:65:06:13:25:F6
a=setup:actpass
a=mid:1
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:4 urn:3gpp:video-orientation
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=msid:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0 7286f60f-81f9-4ef6-9013-daeebd7af6e8
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 H264/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 H264/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:127 red/90000
a=rtpmap:125 rtx/90000
a=fmtp:125 apt=127
a=rtpmap:104 ulpfec/90000
a=ssrc-group:FID 648705273 2176689455
a=ssrc:648705273 cname:D/HAxMFZgLa/Wguu
a=ssrc:648705273 msid:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0 7286f60f-81f9-4ef6-9013-daeebd7af6e8
a=ssrc:648705273 mslabel:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0
a=ssrc:648705273 label:7286f60f-81f9-4ef6-9013-daeebd7af6e8
a=ssrc:2176689455 cname:D/HAxMFZgLa/Wguu
a=ssrc:2176689455 msid:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0 7286f60f-81f9-4ef6-9013-daeebd7af6e8
a=ssrc:2176689455 mslabel:fc9fdf09-ede3-4b20-aabb-6f46b60cbec0
a=ssrc:2176689455 label:7286f60f-81f9-4ef6-9013-daeebd7af6e8

MAC Safari offer
v=0
o=- 2452548470671450827 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS 096429a3-1cd7-4e90-98d4-a78aed26eb0c
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:EurY
a=ice-pwd:RgBYjnJQR/yhMdGuG7/NK8Tj
a=ice-options:trickle
a=fingerprint:sha-256 13:E7:89:02:0D:EA:69:A3:DB:CE:04:07:59:66:08:29:90:59:21:55:6E:02:D1:AA:78:E2:97:CD:92:E5:01:F6
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/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:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:3585557789 cname:qc560SIA03iFPbML
a=ssrc:3585557789 msid:096429a3-1cd7-4e90-98d4-a78aed26eb0c b4833b50-3199-4dd3-a988-f483e3eb6f7e
a=ssrc:3585557789 mslabel:096429a3-1cd7-4e90-98d4-a78aed26eb0c
a=ssrc:3585557789 label:b4833b50-3199-4dd3-a988-f483e3eb6f7e
m=video 9 UDP/TLS/RTP/SAVPF 96 98 99 97 100
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:EurY
a=ice-pwd:RgBYjnJQR/yhMdGuG7/NK8Tj
a=ice-options:trickle
a=fingerprint:sha-256 13:E7:89:02:0D:EA:69:A3:DB:CE:04:07:59:66:08:29:90:59:21:55:6E:02:D1:AA:78:E2:97:CD:92:E5:01:F6
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:4 urn:3gpp:video-orientation
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 red/90000
a=rtpmap:98 ulpfec/90000
a=rtpmap:99 H264/90000
a=rtcp-fb:99 ccm fir
a=rtcp-fb:99 nack
a=rtcp-fb:99 nack pli
a=rtcp-fb:99 goog-remb
a=rtcp-fb:99 transport-cc
a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:100 rtx/90000
a=fmtp:100 apt=99
a=ssrc-group:FID 4180488766 1978835470
a=ssrc:4180488766 cname:qc560SIA03iFPbML
a=ssrc:4180488766 msid:096429a3-1cd7-4e90-98d4-a78aed26eb0c e90d138b-2a70-4415-a769-8372bff520e0
a=ssrc:4180488766 mslabel:096429a3-1cd7-4e90-98d4-a78aed26eb0c
a=ssrc:4180488766 label:e90d138b-2a70-4415-a769-8372bff520e0
a=ssrc:1978835470 cname:qc560SIA03iFPbML
a=ssrc:1978835470 msid:096429a3-1cd7-4e90-98d4-a78aed26eb0c e90d138b-2a70-4415-a769-8372bff520e0
a=ssrc:1978835470 mslabel:096429a3-1cd7-4e90-98d4-a78aed26eb0c
a=ssrc:1978835470 label:e90d138b-2a70-4415-a769-8372bff520e0


MAC Chrome offer
v=0
o=- 5326310698327351150 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS CwGPwsrgdJjqtI1fKaM44OxkyfPX1Fc7SeR2
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:+Jk/
a=ice-pwd:kQBxtfz76cM8CIUGtLuTp3Ou
a=ice-options:trickle
a=fingerprint:sha-256 AC:23:7D:5F:59:84:D9:F2:65:EB:11:2C:47:23:81:72:BC:F4:59:22:1D:06:0C:A1:43:8D:85:1B:28:C3:07:EB
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:CwGPwsrgdJjqtI1fKaM44OxkyfPX1Fc7SeR2 f81d0f9e-c1ad-4464-9efb-0b5ed44df627
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
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:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:2311144563 cname:QnXi3y1O8lmV70/9
a=ssrc:2311144563 msid:CwGPwsrgdJjqtI1fKaM44OxkyfPX1Fc7SeR2 f81d0f9e-c1ad-4464-9efb-0b5ed44df627
a=ssrc:2311144563 mslabel:CwGPwsrgdJjqtI1fKaM44OxkyfPX1Fc7SeR2
a=ssrc:2311144563 label:f81d0f9e-c1ad-4464-9efb-0b5ed44df627
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123 119 114 115 116
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:+Jk/
a=ice-pwd:kQBxtfz76cM8CIUGtLuTp3Ou
a=ice-options:trickle
a=fingerprint:sha-256 AC:23:7D:5F:59:84:D9:F2:65:EB:11:2C:47:23:81:72:BC:F4:59:22:1D:06:0C:A1:43:8D:85:1B:28:C3:07:EB
a=setup:actpass
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:12 urn:3gpp:video-orientation
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:CwGPwsrgdJjqtI1fKaM44OxkyfPX1Fc7SeR2 ea22a3b4-dd23-4b7a-aee7-2d75f35ed8b6
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 VP9/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 profile-id=2
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:122 rtx/90000
a=fmtp:122 apt=102
a=rtpmap:127 H264/90000
a=rtc


Sandip Khot

unread,
Jan 22, 2020, 4:04:50 AM1/22/20
to discuss-webrtc
I am experiencing similar issue with iOS peer and chrome browser. Has anyone figured out this issue.
Reply all
Reply to author
Forward
0 new messages