View All docsVideo APIOverviewRelease NotesGeneral Release NotesAndroid SDK Release NotesiOS SDK Release NotesLinux SDK Release NotesmacOS SDK Release NotesReact Native SDK Release NotesWeb SDK Release NotesWindows SDK Release NotesDiscover & TestTechnical DetailsVideo Products ComparisonPricingGetting StartedUse CasesOverviewOne-on-One Video with the Vonage Video APIMultiparty Video with Archiving with the Vonage Video APIBridging Phone Calls into Video MeetingsLive Broadcasting with the Vonage Video APIRelated Blog PostsBuild Your SolutionTutorialsCreating a video chat appCreating a text chat appHow-ToMigration GuidesTwilio Migration GuidesOverviewAndroidiOSWebOpenTok Server SDK Transition GuidesRuby Server SDKJava Server SDK.NET Server SDKPHP Server SDKPython Server SDKNode Server SDKJoining a SessionGetting StartedInitializing a Session ObjectConnecting to a sessionDisconnect from a SessionDetecting when you have disconnectedAutomatic reconnectionDetecting when clients have connected and disconnectedTroubleshooting session connection issues (Javascript)Troubleshooting session connection issues (React Native)StreamsPublishing StreamsOverviewInitializing a publisher objectPublishing a streamExtra configurationDetect granted access to camera and microphone (Web)Setting the camera and microphone (Web)Remember camera and microphone selection (Web)Stream settings (Web)Managing publishers (Web)Publishing video and audio from alternate sources (Web)Video Settings (Web)Best Practices (Web)Troubleshooting (Web)Stop a publisher from streamingGetting statistics about a publisher's streamAccess & ChecksTesting a publisher's streamSubscribe to StreamsOverviewDetect when streams are created in a sessionSubscribe to a streamAutomatic reconnectionDetecting when streams end and a subscriber's video is disabledGetting information about a streamUnsubscribe from a stream (Javascript only)Managing subscriber streams (Javascript Only)Managing subscriber streams (React Native)Troubleshooting (Javascript Only)UI CustomizationGeneral customizationSwiftWeb OnlyDirectly accessing the video element for a Publisher or SubscriberDisplaying a custom UI element when Subscriber audio is blockedAdjusting video cropping and letterboxingHiding all built-in user interface controls for videosDisplaying or hiding the name in a videoSetting an image to display in audio-only modeSetting the initial position and dimensions of a videoAccessing MediaStream objectsAccessing MediaStream objects for SubscribersResizing or repositioning a videoGetting a snapshot image of a videoScreen SharingGeneral conceptsScreen sharing using the Web SDKAndroid code exampleiOS code exampleTools & DebuggingDebugging Your ApplicationSession InspectorInsights APIException Handling - JavaScript SDKRecording VideosCreate a SessionCreate TokensUse SignalingVideo ModerationPublisher SettingsSubscriber SettingsFilters and EffectsCustom Video CapturingCustom Video RenderingCustom Audio DriverReferenceClient SDKsAndroid SDKiOS SDKLinux SDKmacOS SDKReact Native SDKWeb SDKWindows SDKServer SDKsOverview.NETJavaNodeJSPHPPythonRubyMedia ProcessorOverviewAndroidiOSiOS (Swift)macOSReact NativeWebWindowsREST API ReferenceExplanationClient SDKsOverviewAndroidiOSLinuxmacOSReact NativeWebWindowsSessionsAudio fallbackConnection TokensSignalingSession MonitoringServer RotationArchivingOverviewCustomizing the video layout for composed archivesLayouts for composed archives and live streaming broadcastsAmazon S3 server-side encryptionArchive EncryptionArchiving using a Windows Azure containerArchiving using AWS S3BroadcastOverviewLive Interactive Video BroadcastsLive streaming broadcastsLayouts for composed archives and live streaming broadcastsExperience ComposerSIP InterconnectAI ConnectorsAudio ConnectorLive CaptionsMedia ProcessorOverviewAndroidiOSiOS (Swift)macOSReact NativeWebWindowsAdditional ResourcesVideo InsightVideo CodecsScalable VideoVP9 Scalable Video CodingMobile Guidelines1080p VideoSecuritySecuring Your AppAdvanced Media Stream Encryption (AES-256)End-to-End EncryptionSecure CallbacksNetworking & EnvironmentEnterprise EnvironmentIP Allowed ListRestricted Network GuidelinesConfigurable TURN ServersRegional Media ZonesIP Proxy RoutingEU Proxy RoutingDeveloper ToolsOverviewArchive InspectorInsights GraphiQL ExplorerSession InspectorPlaygroundPre-Call TestVonage Video API Reference App for ReactOverviewRelease NotesManage & SupportRelated Blog PostsBilling and PaymentsSample AppsCommunity SlackVideo ExpressOverviewDeveloper GuideSDK ReferenceRelease NotesVideo + AIOverviewAudio ConnectorLive CaptionsMedia ProcessorOverviewAndroidiOSiOS (Swift)macOSReact NativeWebWindows Getting a snapshot image of a video The following code captures and displays a static image of the Publisher video: The following code captures and displays a static image of a Subscriber video: Navigation Getting a snapshot image of a video
Getting a snapshot image of a video The following code captures and displays a static image of the Publisher video: The following code captures and displays a static image of a Subscriber video: