| Summary: | getUserMedia creates a stream to the video tag, which will appear cropped for a while and then resume | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | shuming <ltsg0317> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
This is probably a dupe of https://bugs.webkit.org/show_bug.cgi?id=256695. *** This bug has been marked as a duplicate of bug 256695 *** |
Steps to reproduce the problem: async function test() { const stream = await navigator.mediaDevices.getUserMedia({ video: true, audio: false, }); const videoTrack = stream.getVideoTracks()[0]; localVideo.srcObject = new MediaStream([videoTrack]); } Safari version: 17.0 OS Version: Sonoma 14.0 alse can test in url: https://jsfiddle.net/ltsg0317/q1krd4gu/7/ result: 1、https://asset.cloudinary.com/dhx2zug13/f24d6854df95a1a62b3953cfa10cfe1c 2、https://asset.cloudinary.com/dhx2zug13/ea4878a3cee48bdf5fc01a8e57f9b073