- From: Alexander via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Jan 2019 10:30:54 +0000
- To: public-webrtc-logs@w3.org
I can enable torch mode on android in this way: ``` try { const track = stream.getVideoTracks()[0]; const torch = !torchMode; track.applyConstraints({ advanced: [{ torch }], }); } catch (_) { // torch is not available } ``` -- GitHub Notification of comment by xelaz Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/202#issuecomment-454343572 using your GitHub account
Received on Tuesday, 15 January 2019 10:30:55 UTC