This is to take snapshot of a video stream in your application. The image from the video stream will be captured and returned as Bitmap Image to the Callback..
Method: window.EnxRtc.captureScreenShot(streamId)
Parameter: streamId
– Stream ID for the stream for which snapshot is to be taken.
Callbacks:
OnCapturedView
– Receives Bitmap Image’
//Capture Snapshot window.EnxRtc.captureScreenShot(streamId); //Snapshot captured. window.EnxRtc.addEventListner("OnCapturedView", function (data) { }); // data is Bitmap data