Bug 257885
| 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 | ||
shuming
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/110889516>
youenn fablet
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 ***