New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 782245 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Last visit 16 days ago
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Video element in desktop Chrome is not resized when remote iOS client rotates the device

Reported by yu...@appear.in, Nov 7 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36

Steps to reproduce the problem:
1. Launch AppRTC Mobile on iOS device.
2. Enter a room from iOS when device is in portrait orientation.
3. Enter the same room from Chrome.
4. Open Javascript console in Chrome and paste the following code:

document.querySelectorAll('video').forEach(videoEl =>
    videoEl.addEventListener('resize', () => console.log(videoEl.id, videoEl.videoWidth, videoEl.videoHeight))
);

5. Rotate iOS device to landscape and back to portrait.

What is the expected behavior?
'resize' event is performed for remote video element and there is an output in Javascript console when iOS device is rotated to landscape and back:

remote-video 640 480
remote-video 480 640

What went wrong?
Nothing happens, 'resize' is not called. Web app cannot adopt to video proportions change.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 62.0.3202.89  Channel: stable
OS Version: OS X 10.13.0
Flash Version:
 
webrtc_internals_dump.txt
798 KB View Download

Comment 1 by yu...@appear.in, Nov 7 2017

It is partly a regression, it used to work with vp8 codec in Chrome 59 but never worked with h264. Now it doesn't work with any of the codecs.

CVO header extension was negotiated as both offer and answer SDPs include "extmap:4 urn:3gpp:video-orientation" (see attached dump for details).

Works as expected in Firefox 56.0.2

AppRTC mobile version that I used is built from recent commit in WebRTC master branch: 3111e5fb48dd5c58e5669119081add277c1dd068
Owner: tkchin@chromium.org
Status: Assigned (was: Unconfirmed)
I cannot reproduce the issue with Android AppRTC. This can be a iOs AppRTC specific problem. tkchin@ can you help with triage?
I think I have similar problem.

I have WebRTC server based on WowzaStreamingEngine software.
I have WebRTC client to recieve live video stream from the server.

Live video stream may change resolution dynamicly.

What went wrong?
When resolution changes to different - the video stop playing, audio still playing(If refresh page - video continue playing in new resolution). When resolution changes to default the video continue playing.


Did this work before? Yes

Does this work in other browsers? Yes

Chrome version: 62.0.3202.75  Channel: stable
OS Version: Kubuntu Linux 17.04
Flash Version:
Owner: magjed@chromium.org

Comment 5 by yu...@appear.in, Nov 8 2017

Just to clear things up, I reported this before, but was slow with the feedback so the old issue was archived: https://bugs.chromium.org/p/chromium/issues/detail?id=767511

Sign in to add a comment