wasm: fix uncaught AbortError from video.play() in camera output
mediaVideoStreamReady can fire again for an already-active stream, which
re-set srcObject and interrupted the in-flight play(). Its unhandled
promise then surfaced as an uncaught AbortError in the console.
Skip re-assigning srcObject when unchanged, and route play() through a
helper that swallows the benign rejection.
Pick-to: 6.12
Change-Id: I5494b37b01f03a81eb80a6dc440a73721f374b0d
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 78c1e33dbf9f872b95ee749963801bd3ac95f931 |
| parent | ee1e57fcd5d921939e76554f7c09d9bde1b357ca |
| author | Lorn Potter <lorn.potter@qt.io> |
| committer | Lorn Potter <lorn.potter@qt.io> |
| commit time | Tue, 4 Aug 2026 01:15:57 +0000 |