Bug 268147
| Summary: | scaleResolutionDownBy >= 4 will cause video freeze when using H264 Codec | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | simu <seimor> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Major | CC: | webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Mac (Intel) | ||
| OS: | Unspecified | ||
simu
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!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/122172715>
youenn fablet
@simu, is it specific to macOS Intel?
I cannot reproduce in my AS device.
youenn fablet
The issue might be that WebKit on macOS Intel can go as low was 192x108 but no lower at the moment.
youenn fablet
*** This bug has been marked as a duplicate of bug 268098 ***