video1.srcObject = new MediaStream(stream.getVideoTracks());
doesn't make much sense? Should be
video1.srcObject = new MediaStream([stream.getVideoTracks()]);
Created attachment 445237 [details]
Committed r286194 (244576@main): <https://commits.webkit.org/244576@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 445237 [details].
*** Bug 222794 has been marked as a duplicate of this bug. ***