RESOLVED CONFIGURATION CHANGED 266749
when I use video element to play WebRtc stream and change the video size, It can cause abnormal flickering in video rendering
https://bugs.webkit.org/show_bug.cgi?id=266749
Summary when I use video element to play WebRtc stream and change the video size, It ...
xht
Reported 2023-12-20 20:13:27 PST
Created attachment 469156 [details] Abnormal recording // react ts code function Test() { const [size, setSize] = useState(false); const videoRef = useRef<HTMLVideoElement>(null); const getCamera = async () => { const stream = await navigator.mediaDevices.getUserMedia({ video: { facingMode: 'environment', }, }); videoRef.current.srcObject = stream; }; const style = { width: size ? 300 : 150, height: size ? 300 : 150, }; return ( <div> <video ref={videoRef} autoPlay playsInline style={style} /> <div> <button onClick={getCamera}>getCamera</button> <button onClick={() => { setSize(!size); }} > changeSize </button> </div> </div> ); }
Attachments
Abnormal recording (716.35 KB, video/mp4)
2023-12-20 20:13 PST, xht
no flags
Radar WebKit Bug Importer
Comment 1 2023-12-27 20:14:12 PST
youenn fablet
Comment 2 2024-02-20 07:39:55 PST
This should be fixed in shipping iOS 17.2. Please reopen otherwise.
Note You need to log in before you can comment on or make changes to this bug.