Bug 233625

Summary: MediaStreamTrack didn't handle enabled property in case of using H264 video codec, causes a crash
Product: WebKit Reporter: dima.kucher
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, smoley, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Mac (Intel)   
OS: macOS 12   

Description dima.kucher 2021-11-30 00:38:17 PST
When H264 video codec picked as preferred for WebRTC MediaStreamTrack.enabled = false causing crash in Safari 15

How to reproduce?

1) Open https://appr.tc/?vrc=H264&vscH264= in Safari
2) Join the same link from another browser
3) Try to disable camera in Safari
4) Page will reload instead of just disabling camera
Comment 1 Radar WebKit Bug Importer 2021-12-01 17:21:42 PST
<rdar://problem/85947082>
Comment 2 Smoley 2021-12-15 09:52:20 PST
The test case link leads to a 404 page for me. Is there a live link or could you please upload the crash log? Thanks!