Back to Samples

WebRTC samples Control Exposure

src/content/getusermedia/exposure/index.html

latest608 B
Original Source

WebRTC samplesControl Exposure

Open camera

Exposure Mode:

Exposure Time:

Exposure Compensation:

Brightness:

White Balance Mode:

Refresh Controls

Display the video stream from getUserMedia() in a video element and control exposureMode, exposureTime and exposureCompensation if camera supports it.

The MediaStreamTrack object track is in global scope, so you can inspect it from the console.

View source on GitHub