I'm trying to use WebRTC to display a video input on-screen as a live feed to capture images. And i'm not trying to do any peer-to-peer communications.
My problem is my live captured-screen has pink color. So I'm trying to adjust the constraints for getUserMedia for PAL
signal like so:
{
"audio": false,
"video": {
"mandatory": {
"maxWidth": 960,
"maxHeight": 720,
"maxAspectRatio": 1.333,
"maxFrameRate": 30
}
}
The above constraints i reference from: WebRTC can't get a video feed from a USB input device
But it does not help. If i use another software on my desktop, it will have pink color too. Then i change properties of this software to PAL /BDGHI
then the screen is normal. See the image attached.
Additional information i was used:
Chrome version 51.26.2704.106 m
OS version: Windows 7 Ultimate (6.1.7601) SP1
Does anyone have any ideas what's causing this, and what is constraints i should pass to getUserMedia
?
Thank you very much !
The captured image is pink:
Other sofware configuration: