Bug 201315

Summary: Video frame rotation issue when CVO header extension is disabled in the SDP negotiation
Product: WebKit Reporter: Manik <msach22>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: Mac   
OS: macOS 10.14   

Description Manik 2019-08-29 15:25:55 PDT
I'm seeing a bug where if CVO (rotation) header extension is not negotiated in the SDP, WebKit is failing to rotate the frame before encoding. This causes the freezing of the video track on the receiving side.

You can test this using the following application: https://meet.tokbox.com/safariwithoutcvop2p
Reproduction Steps:

1. Join Web Application from desktop device (any should be fine). I used MacOS Mojave 10.14.5
2. Join the same link on a device running iOS 12.2
3. Make sure both devices are sending video (publishing)
4. Change iPhone/iOS device from portrait to landscape mode (rotating to the left 90 degrees)
5. Observe that the video stream on MacOS from the iOS device becomes frozen
6. Change the iOS from landscape back to portrait
7. Observe that the video stream on MacOS from the iOS device becomes unfrozen.
Comment 1 Radar WebKit Bug Importer 2019-08-29 23:25:48 PDT
<rdar://problem/54871474>
Comment 2 youenn fablet 2019-08-29 23:28:31 PDT
Hi Manik,

Thanks for the report.
I just tried with a recent iOS 13 device and it seems to work fine.
Would you be able to confirm this with a iOS 13 beta?
Comment 3 youenn fablet 2019-09-09 07:20:13 PDT
Closing as configuration changed.
Manik, please reopen if you still see this issue in recent iOS betas.
Comment 4 Manik 2019-11-06 14:46:36 PST
Hi Youenn,

We're still seeing this issue. Please advise.
Comment 5 Manik 2019-11-06 15:22:45 PST
Hi Youenn,
We're still seeing this issue. Please advise.
Comment 6 Manik 2019-11-10 18:58:26 PST
Hi Youenn, 

Apologies for the comment again - it looks like we're not seeing the issue with 13.3. Will update you with more information soon.

- Manik