Method 1: Streaming directly via CDN
If you have your own media server that produces a stream in HLS format, you will need one CDN resource with special settings for playlists (.m3u8) and chunks (.ts). For more information about settings, see the article Live streaming via CDN using the HLS protocol. You can protect the stream with a token. The token to encrypt the streaming is configured via a script on the origin server, enabling the Secure Token option in the CDN Resource settings according to the “Configure and use Secure Token” guide.Method 2: Streaming via the video streaming with CDN
Use this method if a stream from your server is not in HLS format. Streaming via our Video Streaming has advantages and additional features, such as:- Live stream recording records the broadcast and saves it as VOD.
- DVR allows you to rewind the stream, stop it and return to viewing it later.
- Restreaming allows you to send a broadcast to several media services simultaneously, such as Facebook and YouTube.
- Own player and statistics allow you to collect statistics on views, geography, and popularity of individual broadcasts.
- To use PULL, you need a server with a stream in RTMP (or other) format. The stream is sent to our servers, which convert it into HLS.
- Use PUSH if you stream directly from your computer, camera, or any other device using third-party software. In this case, there is a unique key in the Gcore Customer Portal that you insert into your program, and the stream is sent to us. The Video Streaming converts it into HLS and sends it to end-users.