[Webkit-unassigned] [Bug 262298] New: [WebRTC] Video from safari is freezing and video quality is bad overall

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 28 04:31:23 PDT 2023


            Bug ID: 262298
           Summary: [WebRTC] Video from safari is freezing and video
                    quality is bad overall
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ivan.zahrodskyi at enghouse.com
                CC: youennf at gmail.com

We noticed webrtc issues from safari 17 (only on MacOs 14)
Video from safari is freezing (sometimes is pixelating or fps drops to 1-2 frames or very big delay).
The interesting thing that it is only reproducing when peer connection established is between 2 pc (e.q. in local network) or connection goes through SFU.
Also when look to statistics "inbound-rtp" from safari in remote client (I've used chrome) I noticed that nackCount is constantly grows (or freezeCount and totalFreezesDuration as well)

There are few ways to try this:

Open https://janus.conf.meetecho.com/videocalltest.html?simulcast=true  
sometimes it is not reproduces right after joining so u need to rejаoin or/and play with selecting spatial layers

(I'm using "simulcast=true" link here only to increase chance for reproducing the issue but it is reproducible with https://janus.conf.meetecho.com/videocalltest.html as well)

use jitsi meet (https://meet.jit.si/)

I've used 2 participant 
- safari from macos 14
- chrome from another pc

so in this case when open chrome://webrtc-internals/ I noticed that connection is p2p between two devices inside local network "ICE Candidate pair: <=>"
but still I see nackCount and freezeCount are constantly grows and video quality from safari is not good at all.

use https://v3demo.mediasoup.org/ 
from different devices - same symptoms



just call someone - same symptoms

Some notes about this issue:
- if I connect macbook via wired network issue almost disappears sometimes (or it becomes harder to reproduce), so network connection somehow affect this
- if I try chrome on the same machine I don't see any problem

Devices I tried (where I can reproduce this issue):
- Macbook Pro 16, 2019 (Intel) MacOs 14.1 beta Safari 17.1
- Macbook Pro 14, 2022 (M1 Pro) MacOs 14.0 Safari 17 (not beta, release version)
- Macbook Pro 14, 2023 (M2 Max) MacOs 14.1 beta Safari 17.1
- Macbook Air M1, 2021 MacOs 14.0 Safari 17 (not beta, release version)

Issue is not reproducible on MacOs Ventura (13.6) Safari 17 (so I dare to assume that it is only on MacOs Sonoma 14)

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/20230928/504caa7f/attachment.htm>

More information about the webkit-unassigned mailing list