Problem when rotating the phone (90 degrees to the left) in Safari on iPhone (iOS16)

sangsoo

Member
Hello
When the phone is rotated (left 90 degrees) in Safari on iPhone (iOS16), the phone cam looks distorted. A right 90 degree rotation is normal.
- https://demo.flashphoner.com/client...ming/two_way_streaming/two_way_streaming.html

----- My WCS Version info-----
wcs_version=5.2.1374-38b14f45a32440219ee7c48a68a9323999e69c68
wcs_client_version=2.0.223-4e856c5987083e9b4908a837b4bed8d44cd83b82

When rotating in the compared webrtc sample, it looks normal regardless of left and right rotation.
- https://webrtc.github.io/samples/src/content/devices/input-output/
What is the problem? Please comment.

Best regards.
 

sangsoo

Member
Thank you Max.
The result of cvo extension option on/off was the same.
I will refer to the contents of the document.
For reference, the rear camera has the same symptoms when rotated 90 degrees to the right.
 
Last edited:

Max

Administrator
Staff member
Unfortunately we can't reproduce the issue on iOS 15.7 with latest WCS build 5.2.1408. Perhaps something is broken in iOS Safari 16.
When rotating in the compared webrtc sample, it looks normal regardless of left and right rotation.
- https://webrtc.github.io/samples/src/content/devices/input-output/
The example shows local (publishing) video only.
There were some orientation issues in earlier Safari versions, but the problem was with media traffic, video was distorted (or playback was stopped at all) on players side.
Please clarify: what video is distorted in your tests, local (publishing) or remote (playing) in Two Way Streaming example?
Also please check if switching to VP8 video codec helps.
 

sangsoo

Member
Hello Max
I tested again. (Symptoms occur in both publish and playback, and also in VP8.)

In conclusion, after enabling "cvo extesion" in iOS16, the video is displayed normally.
(I made a mistake, I needed a cam local publishing video refresh in the media device sample.)
Sorry for the confusion.
We will enable cvo extension in the future. thank you
 

Max

Administrator
Staff member
(I made a mistake, I needed a cam local publishing video refresh in the media device sample.)
Sorry for the confusion.
It's ok. Stream should be published again to apply a new publishing options.
Seems like Safari 16 now requires to add orientation parameter to SDP (that the cvoExtension: true option actually does). Glad to hear it's working.
 
Top