How Teleport Works
Teleport is a comprehensive solution consisting of a server and an SDK, which work in tandem to optimize video content delivery.
Key Components
- Teleport SDK: Integrated into the user's browser or mobile application. Responsible for connecting to the peer-to-peer network and managing data exchange.
- Tracker Server: Coordinates connections between peers. Communication with it occurs via a secure Websocket protocol.
Workflow
- Connecting to the Tracker: Upon initialization, the Teleport SDK establishes a secure connection with the tracker server.
- Exchanging Identifiers: The tracker server transmits unique peer identifiers to other network participants.
- Establishing Peer Connections: Peers establish direct connections with each other using WebRTC.
- Segment Exchange: Peers exchange messages and independently decide which content segments to exchange and with whom. This allows switching the source of content retrieval (from the media server to the peer-to-peer network and back) for each node.
Supported Protocols
Teleport supports only adaptive video transport protocols based on HTTP, such as HLS and DASH.
Data Storage and Transfer
- Storage: Received video segments (regardless of source) are temporarily stored in the user's device memory. The storage time is regulated by the TTL parameter (default 180 seconds), after which the segment is deleted.
- Transfer: Data in the peer-to-peer network is transferred via a WebRTC channel. Segments are broken into small parts (16 KB), reassembled on the receiving side, and checked for integrity (checksum).
Player Integration
To simplify Teleport SDK integration, you can use ready-made plugins. These plugins automate SDK initialization and its interaction with popular media players.
CAS/DRM Compatibility
Teleport is compatible with any CAS/DRM systems, but additional integration is required for their correct operation.