Skip to main content

Mobile Video SDKs overview

We provide SDKs for the following mobile app development methods:

FrameworkStatus
Android Native Video SDKFull support ✅
iOS Native Video SDKFull support ✅
React Native Video SDKFull support ✅
Flutter Video SDKFull support ✅

Backend required for highest security

Playing VdoCipher hosted videos requires three parameters to authenticate every playback session. From the backend, get the following information. The backend application will use this API to generate these values.

{
"otp": "____",
"playbackInfo": "____",
"videoId": "_____"
}
secret keys

You must not call this API from your mobile application. It will result in your secret key getting compromised. Consider the secret key like a password to your account.

Why not load video with just the video-id?

General video streaming platforms like Youtube provides a URL/ID which can be used for playback. This means that anybody who has access to this URL is able to play the video. With dynamic authorization, you are able to generate short-lived tokens restricted to only those who have priviledge to watch the video.

can I test without back-end?

If you are just testing the project, you can choose to generate a short-lived tokens from the "Embed" > "Quick Embed" section from your vdocipher dashboard. Extract the OTP and playbackInfo values from the generated script and use them in your SDK.

Webview support

Webview is not supported for secure DRM vdocipher playback.

You might find webview working on some modern devices, but the support and behaviour is dependent on OS version and also other system components. Hence, we only support native integration through our provided SDKs.

What is webview?

Webview is a technology available on mobile platforms to display HTML content within a native app. Some app development toolkits such as cordova or moodle mobile application uses webview to quickly develop mobile apps using web technologies of HTML5 and javascript.