iOS12 webrtc + kurento + ionic3

Hi everybody,

we have implemented an app to show a remote IP camera with webrtc video client ; we show video in html5 video tag (we use ionic framework 3).

On iOS 11 all works great: this SDP Offer from browser to KMS:


v=0

o=- 381439229913720174 2 IN IP4 127.0.0.1

s=-

t=0 0

a=group:BUNDLE audio video

a=msid-semantic: WMS

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:+Zsg

a=ice-pwd:pEgiD8w8n5YUhSjfbTCoeRU1

a=ice-options:trickle

a=fingerprint:sha-256 33:38:12:4A:1C:98:E3:2F:1A:63:EA:A4:D3:28:F2:5C:1E:2A:7F:A9:9D:DA:FA:45:9A:D5:B7:AD:4F:74:6C:A9

a=setup:actpass

a=mid:audio

a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level

a=recvonly

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

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:+Zsg

a=ice-pwd:pEgiD8w8n5YUhSjfbTCoeRU1

a=ice-options:trickle

a=fingerprint:sha-256 33:38:12:4A:1C:98:E3:2F:1A:63:EA:A4:D3:28:F2:5C:1E:2A:7F:A9:9D:DA:FA:45:9A:D5:B7:AD:4F:74:6C:A9

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=extmap:4 urn:3gpp:video-orientation

a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01

a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay

a=recvonly

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


and we receive this response from KMS


v=0

o=- 3747482465 3747482465 IN IP4 0.0.0.0

s=Kurento Media Server

c=IN IP4 0.0.0.0

t=0 0

a=msid-semantic: WMS

a=group:BUNDLE audio video

m=audio 1 UDP/TLS/RTP/SAVPF 111 0

a=mid:audio

a=rtcp:9 IN IP4 0.0.0.0

a=rtpmap:111 opus/48000/2

a=rtpmap:0 PCMU/8000

a=setup:active

a=sendonly

a=rtcp-mux

a=fmtp:111 minptime=10;useinbandfec=1

a=ssrc:4243890647 cname:user3343737242@host-c725acb0

a=ice-ufrag:C14A

a=ice-pwd:RBjcDG+B+XAKEpxUFIioyc

a=fingerprint:sha-256 CE:32:5D:27:7D:D6:9A:93:E9:DB:47:B0:31:2C:84:40:F5:6D:C3:44:08:58:D6:C9:50:4D:BC:E8:06:87:4F:EE

m=video 1 UDP/TLS/RTP/SAVPF 99

a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time

a=mid:video

a=rtcp:9 IN IP4 0.0.0.0

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=setup:active

a=sendonly

a=rtcp-mux

a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f

a=ssrc:3481876736 cname:user3343737242@host-c725acb0

a=ice-ufrag:C14A

a=ice-pwd:RBjcDG+B+XAKEpxUFIioyc

a=fingerprint:sha-256 CE:32:5D:27:7D:D6:9A:93:E9:DB:47:B0:31:2C:84:40:F5:6D:C3:44:08:58:D6:C9:50:4D:BC:E8:06:87:4F:EE


On iOS 12 video is not shown: this SDP Offer from browser to KMS:


v=0

o=- 452615813295782910 2 IN IP4 127.0.0.1

s=-

t=0 0

a=group:BUNDLE audio video

a=msid-semantic: WMS

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:Uc5F

a=ice-pwd:/QljthVd/s+7l85yKPibz7qH

a=ice-options:trickle

a=fingerprint:sha-256 28:A1:32:5D:85:96:30:A6:0D:26:FF:88:3B:A6:B3:7E:6D:02:6A:CF:E3:08:5F:3A:60:94:23:5C:DE:79:D6:65

a=setup:actpass

a=mid:audio

a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level

a=recvonly

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

m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100

c=IN IP4 0.0.0.0

a=rtcp:9 IN IP4 0.0.0.0

a=ice-ufrag:Uc5F

a=ice-pwd:/QljthVd/s+7l85yKPibz7qH

a=ice-options:trickle

a=fingerprint:sha-256 28:A1:32:5D:85:96:30:A6:0D:26:FF:88:3B:A6:B3:7E:6D:02:6A:CF:E3:08:5F:3A:60:94:23:5C:DE:79:D6:65

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=extmap:4 urn:3gpp:video-orientation

a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01

a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay

a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type

a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/video-timing

a=recvonly

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=42e01f

a=rtpmap:97 rtx/90000

a=fmtp:97 apt=96

a=rtpmap:98 red/90000

a=rtpmap:99 rtx/90000

a=fmtp:99 apt=98

a=rtpmap:100 ulpfec/90000


we receive this response from KMS


v=0

o=- 3747482229 3747482229 IN IP4 0.0.0.0

s=Kurento Media Server

c=IN IP4 0.0.0.0

t=0 0

a=msid-semantic: WMS

a=group:BUNDLE audio video

m=audio 1 UDP/TLS/RTP/SAVPF 111 0

a=mid:audio

a=rtcp:9 IN IP4 0.0.0.0

a=rtpmap:111 opus/48000/2

a=rtpmap:0 PCMU/8000

a=setup:active

a=sendonly

a=rtcp-mux

a=fmtp:111 minptime=10;useinbandfec=1

a=ssrc:870248109 cname:user1123549470@host-d4addf44

a=ice-ufrag:FXaQ

a=ice-pwd:g4xYgg5/xOJfYoKVX1PCzZ

a=fingerprint:sha-256 CE:32:5D:27:7D:D6:9A:93:E9:DB:47:B0:31:2C:84:40:F5:6D:C3:44:08:58:D6:C9:50:4D:BC:E8:06:87:4F:EE

m=video 1 UDP/TLS/RTP/SAVPF 96

a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time

a=mid:video

a=rtcp:9 IN IP4 0.0.0.0

a=rtpmap:96 H264/90000

a=rtcp-fb:96 goog-remb

a=rtcp-fb:96 ccm fir

a=rtcp-fb:96 nack

a=rtcp-fb:96 nack pli

a=setup:active

a=sendonly

a=rtcp-mux

a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f

a=ssrc:223120422 cname:user1123549470@host-d4addf44

a=ice-ufrag:FXaQ

a=ice-pwd:g4xYgg5/xOJfYoKVX1PCzZ

a=fingerprint:sha-256 CE:32:5D:27:7D:D6:9A:93:E9:DB:47:B0:31:2C:84:40:F5:6D:C3:44:08:58:D6:C9:50:4D:BC:E8:06:87:4F:EE


Could you help us?


Tx