API-Examples-Web icon indicating copy to clipboard operation
API-Examples-Web copied to clipboard

Custom video source comes through extremely oversaturated

Open mrvdot opened this issue 3 years ago • 3 comments

When using a custom video source from a video element on Chrome (have not tested on other browsers), the "remote" video stream is extremely over saturated. I've confirmed that the video stream captured from the video element is not the issue (by rendering the stream directly in a separate video element), and other remote streams render fine, so it appears to be something on the creation or transmission of the custom video track.

See screenshot from the custom video source demo below (left is the host publishing the sample.mp4, right is receiving it):

mrvdot avatar Nov 18 '21 17:11 mrvdot

tested on Chrome Version 96.0.4664.45 (Official Build) (arm64) Seems cannot reproduced the issue, what's your browser build number? Do you have chance to verify on different browsers? the captureStream API might be some supportability issue via different browsers. for details you could check on https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/captureStream

yoreland avatar Nov 19 '21 01:11 yoreland

I'm on Version 95.0.4638.69 (Official Build) (64-bit), the latest on Ubuntu. I can test it on FF later today or my Windows machine this weekend and will update then.

mrvdot avatar Nov 19 '21 18:11 mrvdot

Tested on Chrome on Windows and it worked. Does appear to be specific to Chrome on Linux

mrvdot avatar Nov 20 '21 23:11 mrvdot