Mobile Video SDKs overview
We provide SDKs for the following mobile app development methods:
Framework | Status |
---|---|
Android Native Video SDK | Full support ✅ |
iOS Native Video SDK | Full support ✅ |
React Native Video SDK | Full support ✅ |
Flutter Video SDK | Full 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": "_____"
}
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.
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.
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.
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.