Bug 238366

Summary: iOS Safari (h264) - unable to have HD quality calls (limited by 500kbs)
Product: WebKit Reporter: Andrey <andrey>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Blocker CC: dan, eric.carlson, kyle, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   
See Also: https://bugs.webkit.org/show_bug.cgi?id=240336
Attachments:
Description Flags
Here is a screen from stats that demonstrates impact of than feautre none

Description Andrey 2022-03-25 00:50:26 PDT
Created attachment 455736 [details]
Here is a screen from stats that demonstrates impact of than feautre

Impossible to have HD quality call on Safari(h264) without disabling "Webrtc h264 low latency encoder" experimental feature(which is enabled by default)

Webrtc h264 low latency encoder (enabled)
 - maximum bitrate is 500kps

Webrtc h264 low latency encoder (disabled)
 - maximum bitrate is 2000kps
Comment 1 youenn fablet 2022-03-25 00:59:47 PDT
<rdar://90184036>
Comment 2 Dan Jenkins 2022-04-14 05:52:55 PDT
Hey @youenn , were you able to reproduce this one? Do you need any more info on it?
Comment 3 youenn fablet 2022-04-14 06:06:40 PDT
(In reply to Dan Jenkins from comment #2)
> Hey @youenn , were you able to reproduce this one? Do you need any more info
> on it?

We think we have a fix. I'll try to comment on the bug when this will be testable.
Comment 4 Dan Jenkins 2022-04-14 06:08:02 PDT
(In reply to youenn fablet from comment #3)
> (In reply to Dan Jenkins from comment #2)
> > Hey @youenn , were you able to reproduce this one? Do you need any more info
> > on it?
> 
> We think we have a fix. I'll try to comment on the bug when this will be
> testable.

thank you! :)
Comment 5 Kyle Foley 2022-05-12 07:52:18 PDT
Is there a possibility this bug could effect native calls as well? We're seeing our native WebRTC app (using H264) being capped at 100kbs after the release of iOS 15.4 on all iOS devices.
Comment 6 youenn fablet 2022-05-12 08:39:54 PDT
(In reply to Kyle Foley from comment #5)
> Is there a possibility this bug could effect native calls as well? We're
> seeing our native WebRTC app (using H264) being capped at 100kbs after the
> release of iOS 15.4 on all iOS devices.

Yes, can you try the latest iOS 15.5 beta?
Comment 7 Kyle Foley 2022-05-12 08:47:25 PDT
We still have poor video quality on the latest 15.5 beta. Frame rate is around 60fps, but bitrate is very low. Let me know if you'd like me to attach any supporting data
Comment 8 Kyle Foley 2022-05-12 08:59:18 PDT
I just tested in Safari using h264. iOS 15.5 beta does fix the issue in Safari, the video is crystal clear. Althought our native app  still has terrible quality. 

The image quality on 15.4 Safari exactly matches the video quality on 15.5 native app, if that makes sense.
Comment 9 Kyle Foley 2022-05-20 11:23:52 PDT
15.6 beta 1 does not fix this issue either