[Webkit-unassigned] [Bug 240336] New: The quality of the video transmitted by WebRTC is very low on iOS Safari 15.4

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 02:32:32 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240336

            Bug ID: 240336
           Summary: The quality of the video transmitted by WebRTC is very
                    low on iOS Safari 15.4
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rantarn0326 at gmail.com
                CC: youennf at gmail.com

# Overview
The quality of the video transmitted by WebRTC is very low on iOS Safari 15.4.
And, changing MediaStreamTrack.enabled eliminate this problem.


## steps to reproduce
device A: iOS Safari
device B: Any(ChromeM101 on Mac and iPadOS(unknown version) was tested)

1. (device A&B) visit https://yasubaba.github.io/prodSkyWay/room_videoMute/
2. (device A&B) Accept permissions for camera and microphone.
3. (device A&B) join Room and start WebRTC Connection.
4. (device B) received Video is very low quality. (However, the image quality seems to be normal on webrtc internals.)
5. (device A) click `Video Mute/Unmute` 
6.  (device B) received Video is good quality. (However, But on webrtc internals it looks no different than step 4)


The mute procedure is very simple as follows
```
document.getElementById('js-videoEnabled').addEventListener('click', () => {
  localStream.getVideoTracks().forEach( track => {
    track.enabled = !track.enabled;
  });
})
```


## Actual Results
iOS Safari always send low quality video at first, but changing track.enabled is workaround.

## Expected Results
device B receive good quality Video.

## Hardware
iPhone11 iOS15.4

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220512/b32fb1d7/attachment-0001.htm>


More information about the webkit-unassigned mailing list