Player.js - is a player constructor based on hls.js and dash.js.
Teleport.js is compatible with Player.js version 8.89 and later.
To get started
Before the Teleport.js configure and launch, you have to signup in the Teleport client area, connect the domain of your streaming and get an API key.
While integrating the Player.js with Teleport, JS modules should be loaded strictly in the following order:
- Player.js bundle.
- Teleport Core bundle with the plugin for DASH.js (all connectivity options for the Teleport library) .
To start downloading video chunks from p2p, you need to:
- Create the Player.js player instance.
- Initialize the Teleport by transferring an event from a created player as a callback function.