https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints पर "छवि ट्रैक की गुण" नामक एक अनुभाग है। मैं इन सेटिंग्स को कैसे समायोजित करूं?मैं छवि ट्रैक सेटिंग्स को कैसे कार्यान्वित करूं
जब मैं navigator.mediaDevices.getSupportedConstraints()
चलाने मैं निम्नलिखित मिल:
{
"aspectRatio": true,
"brightness": true,
"channelCount": true,
"colorTemperature": true,
"contrast": true,
"depthFar": true,
"depthNear": true,
"deviceId": true,
"echoCancellation": true,
"exposureCompensation": true,
"exposureMode": true,
"facingMode": true,
"focalLengthX": true,
"focalLengthY": true,
"focusMode": true,
"frameRate": true,
"groupId": true,
"height": true,
"iso": true,
"latency": true,
"pointsOfInterest": true,
"sampleRate": true,
"sampleSize": true,
"saturation": true,
"sharpness": true,
"torch": true,
"videoKind": true,
"volume": true,
"whiteBalanceMode": true,
"width": true,
"zoom": true
}
मैं "वीडियो ट्रैक की गुण" video
navigator.mediaDevices.getUserMedia({
video: {
aspectRatio: 1.5,
width: 1280,
},
})
के तहत समायोजित कर सकते हैं लेकिन मुझे यकीन है कि कैसे focalLengthX
की तरह गुण समायोजित करने के लिए नहीं कर रहा हूँ या exposureCompensation
। मैं उन्हें कहां समायोजित करूंगा?
आप वस्तु '.getUserMedia()' के लिए पारित पर संपत्ति और मान सेट की कोशिश की? – guest271314