|
@@ -119,7 +119,7 @@ export default {
|
|
|
detail: "摄像头getSupportedConstraints",
|
|
|
getSupportedConstraints:
|
|
|
navigator.mediaDevices.getSupportedConstraints &&
|
|
|
- navigator.mediaDevices.getSupportedConstraints(),
|
|
|
+ JSON.stringify(navigator.mediaDevices.getSupportedConstraints()),
|
|
|
});
|
|
|
const stream = await navigator.mediaDevices.getUserMedia({
|
|
|
video: {
|