{"id":6824,"date":"2022-09-21T20:44:49","date_gmt":"2022-09-21T12:44:49","guid":{"rendered":"https:\/\/doc.smartflomeet.ttns.in\/developer\/?page_id=6824"},"modified":"2022-09-21T20:56:32","modified_gmt":"2022-09-21T12:56:32","slug":"take-image-snapshot","status":"publish","type":"page","link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/video-api\/client-api\/ios-toolkit\/take-image-snapshot\/","title":{"rendered":"Take Image Snapshot of Video Stream: iOS SDK &#8211; Video API"},"content":{"rendered":"\n<p>This is to take snapshot of a video stream in your application. The image from the video stream will be captured and returned as Framed Image with the delegate method.<\/p>\n\n\n\n<p><strong>Method<\/strong>: <code>-(void) captureScreenShot<\/code><\/p>\n\n\n\n<p><strong>Delegate Method<\/strong>: <\/p>\n\n\n\n<ul><li><code>-didCapturedView<\/code>&#8211; Receives Image in Framed View&#8217;<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/Set delegate\nEnxPlayerView.delegate = self;\n\n\/\/Capture Snapshot\n[EnxPlayer captureScreenShot];\n\n\/\/Snapshot captured.\n-(void)didCapturedView:(UIImage*_Nonnull)snapShot;\n\/\/ SnapShot is the Image Frame <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is to take snapshot of a video stream in your application. The image from the video stream will be captured and returned as Framed Image with the delegate method. Method: -(void) captureScreenShot Delegate Method: -didCapturedView&#8211; Receives Image in Framed View&#8217; \/\/Set delegate EnxPlayerView.delegate = self; \/\/Capture Snapshot [EnxPlayer captureScreenShot]; \/\/Snapshot captured. -(void)didCapturedView:(UIImage*_Nonnull)snapShot; \/\/ SnapShot is the Image Frame<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3732,"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":"This is to take snapshot of a video stream in your application. The image from the video stream will be captured and returned as Framed Image with the delegate method. Method: -(void) captureScreenShot Delegate Method: -didCapturedView&#8211; Receives Image in Framed View&#8217; \/\/Set delegate EnxPlayerView.delegate = self; \/\/Capture Snapshot [EnxPlayer captureScreenShot]; \/\/Snapshot captured. -(void)didCapturedView:(UIImage*_Nonnull)snapShot; \/\/ SnapShot&hellip;","_links":{"self":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/6824"}],"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=6824"}],"version-history":[{"count":0,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/6824\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/3732"}],"wp:attachment":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/media?parent=6824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}