I am using HTML Canvas element as the video source to publish the video. All I have been getting is a black screen and sometimes the first frame loads but ends up with a black screen.
The only two attributes i have been setting explicitly are playsinline and muted, here is a snippet for the same:
var videoEl = document.createElement('video');
videoEl.srcObject = mediaStream;
videoEl.setAttribute('playsinline', '');
videoEl.muted = true;
and after the render I end up with the below:
<video autoplay muted playsinline src="..."></video>
But since the latest OS update, the issue seems to be fixed. I tested my video call application in the below scenarios:
Chrome → Chrome → Working as expected.
Chrome → Safari→ Working as expected.
Safari → Safari → Working as expected.
Version details:
Chrome - 100.0.4896.75
Safari - 15.4
Mac OS - 12.3.1