Bug 268147 - scaleResolutionDownBy >= 4 will cause video freeze when using H264 Codec
Summary: scaleResolutionDownBy >= 4 will cause video freeze when using H264 Codec
Status: RESOLVED DUPLICATE of bug 268098
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 17
Hardware: Mac (Intel) Unspecified
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-01-26 01:19 PST by simu
Modified: 2024-03-10 14:29 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simu 2024-01-26 01:19:19 PST
Reproduce Step:

1. Open webrtc samples: https://webrtc.github.io/samples/src/content/peerconnection/change-codecs/
2. Open dev tools
3. Click start Button
4. Select Codec: H264
5. Click Call
6. Input code:

```javascript
(() => {
  const senders = pc1.getSenders();
  const sender = senders.find(s => s.track.kind === "video");
  const params = sender.getParameters();
  
  params.encodings[0].scaleResolutionDownBy = 6;
  sender.setParameters(params);
})()

```
in dev-tools' console and tap ENTER

You will see the right video(received side) is freezed!
Comment 1 Radar WebKit Bug Importer 2024-02-02 01:20:13 PST
<rdar://problem/122172715>
Comment 2 youenn fablet 2024-02-02 01:59:42 PST
@simu, is it specific to macOS Intel?

I cannot reproduce in my AS device.
Comment 3 youenn fablet 2024-02-02 02:04:44 PST
The issue might be that WebKit on macOS Intel can go as low was 192x108 but no lower at the moment.
Comment 4 youenn fablet 2024-03-10 14:29:23 PDT

*** This bug has been marked as a duplicate of bug 268098 ***