{"id":6822,"date":"2022-09-21T19:27:53","date_gmt":"2022-09-21T11:27:53","guid":{"rendered":"https:\/\/doc.smartflomeet.ttns.in\/developer\/?page_id=6822"},"modified":"2022-09-21T19:51:51","modified_gmt":"2022-09-21T11:51:51","slug":"take-image-snapshot","status":"publish","type":"page","link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/video-api\/client-api\/flutter-toolkit\/take-image-snapshot\/","title":{"rendered":"Take Image Snapshot of Video Stream: Flutter SDK &#8211; Video API"},"content":{"rendered":"\n<p>To take snapshot of a video stream in your application use the<code>&nbsp;EnxRtc.captureScreenShot)<\/code> method. The image from the video stream will be captured as raw bitmap and returned as base64 string data in the callback.<\/p>\n\n\n\n<p><strong>Method<\/strong>: <code>captureScreenShot(streamId)<\/code><\/p>\n\n\n\n<p><strong>Parameter<\/strong>: <code>streamId<\/code> &#8211; String. ID of Stream from which Snapshot to be taken<\/p>\n\n\n\n<p><strong>Callback<\/strong>: <code>OnCapturedView<\/code> &#8211; Receives base64 encoded String for the captured raw bitmap<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">EnxRtc.captureScreenShot(streamId); \n\nEnxRtc.OnCapturedView=(Map&lt;dynamic,dynamic&gt; map){\n\n};<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To take snapshot of a video stream in your application use the&nbsp;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 &#8211; String. ID of Stream from which Snapshot to be taken Callback: OnCapturedView &#8211; Receives base64 encoded String for the captured raw bitmap EnxRtc.captureScreenShot(streamId); EnxRtc.OnCapturedView=(Map&lt;dynamic,dynamic&gt; map){ };<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3755,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":""},"featured_image_src":null,"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"featured":false,"featured-large":false},"uagb_author_info":{"display_name":"vcxdevwpadmin","author_link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/author\/vcxdevwpadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"To take snapshot of a video stream in your application use the&nbsp;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 &#8211; String. ID of Stream from which Snapshot to be taken Callback: OnCapturedView &#8211; Receives base64 encoded&hellip;","_links":{"self":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/6822"}],"collection":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/comments?post=6822"}],"version-history":[{"count":0,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/6822\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/3755"}],"wp:attachment":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/media?parent=6822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}