Below is the minimal reproducible code snippet that demonstrates the issue: ``` <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>test safari 17 bug</title> </head> <body> <button id="btn1">camera</button> <video id="video" style=" width: 600px; height: 600px; transform-origin: top left; transition: all 0.3s ease; " controls autoplay playsinline webkit-playsinline ></video> <button id="btn2">zoom</button> <script> btn1.onclick = function () { navigator.mediaDevices .getUserMedia({ video: true, }) .then((stream) => { video.srcObject = stream; }); }; btn2.onclick = function () { video.style.width = video.style.width === '300px' ? '600px' : '300px'; video.style.height = video.style.height === '300px' ? '600px' : '300px'; }; </script> </body> </html> ```
Original title: I am experiencing an issue on Safari 17 where using Video srcObject = MediaStream(WebRTC) to play a particular captured video stream, and resizing it via style settings for width and height, results in the rendered video flickering. (edit)
<rdar://problem/119944578>
*** This bug has been marked as a duplicate of bug 259364 ***
This should work now in latest Safari Tech Preview.
Could you please inform me when the bug fix is expected to be merged into the release version, and on which version it will be released?
This issue still persists in iOS 17.2.1/MacOS 14.1.1 systems.