請問html5怎么關閉攝像頭?
2 回答

白豬掌柜的
TA貢獻1893條經驗 獲得超10個贊
...
video.src = window.URL.createObjectURL(stream);
...
stream.getVideoTracks()[0].stop();
- 2 回答
- 0 關注
- 2093 瀏覽
添加回答
舉報
0/150
提交
取消