New issue
Advanced search Search tips

Issue 740049 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 767511
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug


Previous locations:
webrtc:7934


Sign in to add a comment

Video element is not resized in Chrome when remote iOS client rotates the device and the stream is encoded with H264

Reported by yuriypav...@gmail.com, Jul 4 2017

Issue description

What steps will reproduce the problem?
1. Launch AppRTC Mobile on iOS device.
2. Select H264 codec in settings.
3. Enter a room from iOS when device is in portrait orientation.
4. Enter the same room from Chrome.
5. 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))
);

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

What is the expected result?
'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 do you see instead?
Nothing happens, 'resize' is not called. Web app cannot adopt to video proportions change.

What version of the product are you using? On what operating system?
Desktop: macOS 10.12.5
Chrome version 59.0.3071.115 (Official Build) (64-bit)

Mobile: iOS 10.3.2
AppRTC Mobile built from the latest commit at the moment in master branch: 38fecafa48ff6abfdf0279ce3c04df7e26401e08

Please provide any additional information below.

It works as expected when using vp8 or vp9. Also works in Firefox.


 

Comment 1 by yu...@appear.in, Jul 4 2017

Attaching webrtc internals dumps.
Frame width/height for received video stream stays constant in both bug case with H264 and correct case with VP8.

(I reported the bug originally, sorry for using different account)
webrtc_internals_dump.txt
624 KB View Download
event_log.862.1
7.0 MB Download
Screen Shot 2017-07-04 at 17.39.47.png
86.1 KB View Download
Project: chromium
Moved issue webrtc:7934 to now be  issue chromium:740049 .
Components: Blink>WebRTC>Video
Labels: OS-iOS

Comment 5 by edchin@chromium.org, Sep 18 2017

Is this related to Chrome for iOS app? If not, should it be handled by the web rtc team?

Comment 6 by yu...@appear.in, Sep 19 2017

No, it is related to desktop Chrome that receives video from iOS apprtc client.

Comment 7 by yu...@appear.in, Sep 19 2017

Actually it is now reproducible for any codec, not just H264. I created a new issue in webrtc bugtracker with the new description:
https://bugs.chromium.org/p/webrtc/issues/detail?id=8264
Labels: -OS-iOS OS-Mac
Mergedinto: 767511
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment