CONNECT Player SDK 1 for Browsers Documentation
DASH and HLS support
DASH is supported with Microsoft PlayReady and Widevine DRM, and HLS with Apple FairPlay Streaming when integrated with the Security Services Platform (SSP) or the Conax Contego security management system.
The standard solution across all the supported browsers and platforms is provided via the DASH Industry Forum dash.js package which is extended to facilitate seamless SSP and Conax Contego integration, and using the browser HTML MSE and EME specifications for descrambling and rendering.
Platform | Streaming format | OS supported | Encryption method | DRM |
---|---|---|---|---|
Edge (Chromium) | DASH | Windows | cenc | Widevine |
Edge (legacy) | DASH | Windows | cenc | PlayReady |
Chrome | DASH | Windows/Mac | cenc | Widevine |
Firefox | DASH | Windows/Mac | cenc | Widevine |
Safari | HLS | Mac | SAMPLE-AES | FairPlay |
The CONNECT Player SDK for Browsers also provides the additional benefit that end-users do not have to download and install any plugins or extensions. A common player control bar provides standard control bar features, as well as thumbnail preview on seeking and the ability to easily re-skin to match customer branding.
APIs
To support video playback, Chrome, MS Edge, Firefox and Safari have added the following APIs to the HTMLMediaElement
:
- Media Source Extensions (MSE)
A JavaScript application manages the media streams displayed by the HTML5 <video> element, enabling the player to support adaptive streaming to optimise users' available bandwidth and device capabilities. It also provides support for fragmented MP4, which means fewer different encodings are required, reducing CDN costs. - Encrypted Media Extensions (EME)
These enable the HTML5<video>
element to play DRM-protected content via a JavaScript application that manages licence and key exchange. Licence and key management are carried out by the application, allowing the CONNECT Player to integrate with multiple DRM schemes appropriate to the platform.
SDK file contents
The Browsers SDK folder typically contains the following files (zipped):
- opy-sdk-browser-1.7.x-example-code.zip
This contains code examples to demonstrate the features of the CONNECT player; see the Browsers SDK 1 Example Code Quick Start guide. - opy-sdk-browser-1.7.x-integration.zip
This contains the files used for integration activities; see the Browsers SDK Integration Guide: Creating the player. - opy-sdk-browser-1.7.x-production.zip
This contains the javascript file that replaces the integration version when the application is ready to be deployed; see the Browsers SDK Integration Guide: Building the production version.
Player licence
The player will not work without an encrypted licence that controls which player features and platforms are enabled. Two types of licence are available:
- Trial licence – a time-limited licence which works with any domain to evaluate the player.
- Commercial licence - supplied to you once you licence the product. It will only work with the domain name provided with the licence.
Open source usage
The following third-party software is used and embedded within the CONNECT Player SDK for Browsers Release 1.6.1.
Open Source | Version | License | Website |
---|---|---|---|
dashjs | 3.0.3 | BSD-3-Clause | https://github.com/Dash-Industry-Forum/dash.js |
video.js | 7.4.1 | MIT | https://github.com/videojs/video.js/ |
videojs-contrib-dash | 2.11.0 | Apache License, Version 2.0 | https://github.com/videojs/videojs-contrib-dash |
videojs-thumbnails | 0.1.1 | Apache License, Version 2.0 | https://github.com/brightcove/videojs-thumbnails |
videojs-watermark | 2.0.0 | Apache License, Version 2.0 | https://github.com/dotsub/videojs-watermark |
videojs-overlay | 2.1.4 | Apache License, Version 2.0 | https://github.com/brightcove/videojs-overlay |
google-protobuf | 3.9.1 | BSD 3-Clause License | https://github.com/protobufjs/protobuf.js |
Jose JWE and JWS | 0.1.6 | Apache License, Version 2.0 | https://github.com/square/js-jose |