Hello guys!
I'm not able to stop a camera stream on my chrome tab. The stream starts, I close the dialog, but the camera is still recording.
Afterwards I try to get the stream once more:
navigator.getUserMedia({ audio: false, video: true }, function (localMediaStream) { video.src = localMediaStream; }, onFailSoHard); But I do not manage to receive the stream object in order to kill it. Any ideas? Thanks. This seems to be a possible solution://Get the video stream and stop the recording: const video = document.querySelector('video'); var oTracks = video.srcObject.getVideoTracks(); oTracks[0].stop() Enhancing S/4HANA with SAP HANA Cloud Vector Store and GenAI in Technology Blogs by SAP Tuesday Add HANA system with XS advanced and streaming analytics to SAP Cloud ALM? in Technology Q&A a week ago SAP UI5 How to get data using external barcode reader in Technology Q&A 2 weeks ago Deploying SAP S/4HANA Containers with Kubernetes in Technology Blogs by SAP 2 weeks ago SAP PI - REST Receiver PDF Content application/octet-stream in Technology Q&A 2 weeks ago
But I do not manage to receive the stream object in order to kill it.
Any ideas?
Thanks.
This seems to be a possible solution:
//Get the video stream and stop the recording: const video = document.querySelector('video'); var oTracks = video.srcObject.getVideoTracks(); oTracks[0].stop() Enhancing S/4HANA with SAP HANA Cloud Vector Store and GenAI in Technology Blogs by SAP Tuesday Add HANA system with XS advanced and streaming analytics to SAP Cloud ALM? in Technology Q&A a week ago SAP UI5 How to get data using external barcode reader in Technology Q&A 2 weeks ago Deploying SAP S/4HANA Containers with Kubernetes in Technology Blogs by SAP 2 weeks ago SAP PI - REST Receiver PDF Content application/octet-stream in Technology Q&A 2 weeks ago