Bug 204579 - When connecting to peer via RTCPeerConnection video is always stuck on landscape
Summary: When connecting to peer via RTCPeerConnection video is always stuck on landscape
Status: RESOLVED DUPLICATE of bug 203851
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 12
Hardware: All iOS 12
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-25 07:55 PST by gabriel.periotto
Modified: 2019-11-25 09:18 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gabriel.periotto 2019-11-25 07:55:57 PST
When connecting to a peer via RTCPeerConnection, the mediaStream video track is always locked on landscape, however locally, the mediaStream is shown and rotates correctly.

Tested on iPhones running v12 and 13 and iPad v12
Comment 1 youenn fablet 2019-11-25 08:06:48 PST
This does not seem to reproduce in https://webrtc.github.io/samples/src/content/peerconnection/pc1/.
Would you be able to provide more information?
Is it Safari to Safari?
Is CVO RTP header extension enabled?
Comment 2 gabriel.periotto 2019-11-25 08:53:47 PST
(In reply to youenn fablet from comment #1)
> This does not seem to reproduce in
> https://webrtc.github.io/samples/src/content/peerconnection/pc1/.
> Would you be able to provide more information?
> Is it Safari to Safari?
> Is CVO RTP header extension enabled?

Currently testing in Safari to Chrome and yeah the extension a=extmap:4 urn:3gpp:video-orientation is included. 


Local sdp:

v=0
o=- 2566940773316136745 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS 9303b7ed-0650-4a06-9c62-b24307ccb6af
m=video 65015 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 125 104
c=IN IP4  
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:120378696 1 udp 2113937151 65015 typ host generation 0 network-cost 999
a=ice-ufrag:vcBc
a=ice-pwd:uVV3Ouz+414qgcM3Od0deVj7
a=ice-options:trickle
a=fingerprint:sha-256 6C:16:AA:AF:69:95:0D:AB:BA:1E:66:10:14:A4:3F:C0:32:3F:52:88:20:8B:AF:E2:25:B2:26:31:3F:4B:AC:CC
a=setup:actpass
a=mid:0
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=extmap:10 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=msid:9303b7ed-0650-4a06-9c62-b24307ccb6af 7da52fa4-dcce-440c-b7ae-fd39f91943fd
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 668326477 177839193
a=ssrc:668326477 cname:6XX7GRgtCj6ceVgU
a=ssrc:668326477 msid:9303b7ed-0650-4a06-9c62-b24307ccb6af 7da52fa4-dcce-440c-b7ae-fd39f91943fd
a=ssrc:668326477 mslabel:9303b7ed-0650-4a06-9c62-b24307ccb6af
a=ssrc:668326477 label:7da52fa4-dcce-440c-b7ae-fd39f91943fd
a=ssrc:177839193 cname:6XX7GRgtCj6ceVgU
a=ssrc:177839193 msid:9303b7ed-0650-4a06-9c62-b24307ccb6af 7da52fa4-dcce-440c-b7ae-fd39f91943fd
a=ssrc:177839193 mslabel:9303b7ed-0650-4a06-9c62-b24307ccb6af
a=ssrc:177839193 label:7da52fa4-dcce-440c-b7ae-fd39f91943fd
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:vcBc
a=ice-pwd:uVV3Ouz+414qgcM3Od0deVj7
a=ice-options:trickle
a=fingerprint:sha-256 6C:16:AA:AF:69:95:0D:AB:BA:1E:66:10:14:A4:3F:C0:32:3F:52:88:20:8B:AF:E2:25:B2:26:31:3F:4B:AC:CC
a=setup:actpass
a=mid:1
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:9303b7ed-0650-4a06-9c62-b24307ccb6af c5e1bb51-7353-4992-ab76-b9f34095ea73
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:3994760141 cname:6XX7GRgtCj6ceVgU
a=ssrc:3994760141 msid:9303b7ed-0650-4a06-9c62-b24307ccb6af c5e1bb51-7353-4992-ab76-b9f34095ea73
a=ssrc:3994760141 mslabel:9303b7ed-0650-4a06-9c62-b24307ccb6af
a=ssrc:3994760141 label:c5e1bb51-7353-4992-ab76-b9f34095ea73

Remote sdp:
v=0
o=- 2566940773316136745 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS janus
m=video 53721 UDP/TLS/RTP/SAVPF 96
c=IN IP4
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:1 1 udp 2013266431 53721 typ host generation 0
a=ice-ufrag:Gzxn
a=ice-pwd:oqY4GZKD4ATg1siKTp4rC5
a=ice-options:trickle
a=fingerprint:sha-256 E8:7A:B6:D6:CC:54:73:DC:CD:A0:74:8B:05:7C:7D:E3:C6:4F:FF:00:2E:D9:7B:DA:02:DA:F6:DB:E2:7C:E3:37
a=setup:active
a=mid:0
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:10 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=recvonly
a=msid:janus janusv0
a=rtcp-mux
a=rtpmap:96 H264/90000
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=fmtp:96 packetization-mode=1;profile-level-id=42e01f
a=ssrc:1088771096 cname:janus
a=ssrc:1088771096 msid:janus janusv0
a=ssrc:1088771096 mslabel:janus
a=ssrc:1088771096 label:janusv0
m=audio 53721 UDP/TLS/RTP/SAVPF 111
c=IN IP4 
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:1 1 udp 2013266431 53721 typ host generation 0
a=ice-ufrag:Gzxn
a=ice-pwd:oqY4GZKD4ATg1siKTp4rC5
a=ice-options:trickle
a=fingerprint:sha-256 E8:7A:B6:D6:CC:54:73:DC:CD:A0:74:8B:05:7C:7D:E3:C6:4F:FF:00:2E:D9:7B:DA:02:DA:F6:DB:E2:7C:E3:37
a=setup:active
a=mid:1
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=recvonly
a=msid:janus janusa0
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=ssrc:1302574408 cname:janus
a=ssrc:1302574408 msid:janus janusa0
a=ssrc:1302574408 mslabel:janus
a=ssrc:1302574408 label:janusa0
Comment 3 youenn fablet 2019-11-25 09:17:33 PST
This is probably https://bugs.chromium.org/p/chromium/issues/detail?id=991441
Comment 4 youenn fablet 2019-11-25 09:18:02 PST

*** This bug has been marked as a duplicate of bug 203851 ***