To take snapshot of a video stream in your application use the EnxRtc.captureScreenShot) method. The image from the video stream will be captured as raw bitmap and returned as base64 string data in the callback.

Method: captureScreenShot(streamId)

Parameter: streamId – String. ID of Stream from which Snapshot to be taken

Callback: OnCapturedView – Receives base64 encoded String for the captured raw bitmap

EnxRtc.captureScreenShot(streamId); 

EnxRtc.OnCapturedView=(Map<dynamic,dynamic> map){

};