Live streaming. Create and configure live streaming

The streaming platform supports receiving streams from your source (PULL) or from a dedicated publication point (PUSH)using the following protocols:
- SRT 
-RTMP   

The stream is transcoded to get streams of lower quality and is sent via CDN to viewers in our HTML-5 or in any other player with adaptive streaming in the HLS and MPEG-DASH (CMAF) protocols. 

 

To start the broadcast, go through steps in your personal account:

  • Set up a CDN — create a domain (CDN resource) through which the content is sent.
  • Create a Live stream to get a publishing point or specify where we should take the stream from.
  • Start the stream in the encoder (only for the PUSH stream).
  • Get a player iframe to insert it into the site code or a URL to embed a stream into your own player.

Below are all the steps and an example of how to start a stream in the encoder such as OBS.

 

 

Configure CDN

Create or prepare an existing CDN resource

Prepare an existing CDN resource

Create and prepare a new CDN resource

Create a Live Stream

Start a stream in the encoder (only for the PUSH stream)

Export a stream

Use the G-Core Labs player and set up the broadcast

Use your own player

 

Configure CDN

 

Create or prepare an existing CDN resource

CDN resource is used for caching streams on our servers and delivering them to viewers.

The most convenient way is to create and prepare a domain created on the CDN tab inside the Streaming product on the Settings tab.


Prepare an existing CDN resource

In the CDN resources list, find the required resource and click Prepare.

Caching rules will be applied to the selected resource for correct broadcasting via the Streaming service.  

prepare_eng.png

Important! Please, do not change the settings of the resources prepared for the Media Platform, it can negatively affect the content delivery. 

 

Create and prepare a new CDN resource

If you don't have a CDN resource, go to the Settings section in the Streaming tab and click Create CDN resource.

create_cdn_resource.png

Set your own domain or use a zone gcdn.co.

create_step_2.png

1. We recommend choosing a gcdn.co zone if you are going to test the service or this is your first launch. With this configuration, the DNS and the free SSL certificate will be configured automatically.

Please, note! The CDN domain will consist  *. gcdn.co and it will be displayed in the links to your broadcasts.

2. Select Own domain to specify your own domain.

After the resource is created, go to the CDN tab -> find the created resource -> Setup guide ->  Set up your DNS.

  • After the resource is created, click the Prepare button next to the created resource.

    Caching rules will be applied to the selected resource for correct broadcasting via the Streaming service.  

prepare_eng.png

Important! Please, do not change the settings of the resources prepared for the Streaming, it can negatively affect the content delivery. 

  • After the resource is prepared, configure the DNS records in the DNS settings.

All the necessary data is in the Setup Guide.

setup_guide.pngTo open it, go to the CDN tab -> find the created resource -> Setup guide -> Set up your DNS step.

Detailed instruction on how to configure DNS.

 

The basic CDN setup is complete.

Please, note!

The created resource will be displayed on the CDN resources tab in the CDN service.

In its settings, you can set advanced parameters, for example, configure viewing by tokenized links.

We do not recommend changing other settings yourself, this may disrupt the broadcast.

If you need additional settings, contact technical support support@gcorelabs.com for help.

 

 

Create a Live Stream

After preparing the CDN resource, create a Live stream.

To do this, in the Streaming section, go to the Live Streams tab and click Create a stream.

create_live_stream.png

Select the connection type: PULL or PUSH

  • PULL means that we take the content from your RTMP or SRT server.
  •  Specify the server in the URL field.

    pull.png
  • PUSH means that you send a stream using the encoder to a URL generated for you in the stream settings.

push.png

For an encoder, you will need not only a specially generated URL but also a key for authorization.

The URL and key will be available in the stream settings after its creation.

push_2.png

 More information about the Live stream settings and the connection type 

 

Start a stream in an encoder (only for a PUSH stream)

If you selected PUSH in the Live Stream settings, configure an encoder to start the stream.

 

Find the URL and the stream key in the stream settings.

This data is needed for the encoder to send the stream to our server for processing and sending to viewers.

 

Let's see how to set up a PUSH stream using OBS.

1. Run OBS

2. Go to Settings.

settings_obs.png

3. Open the Stream section.

4. In the Service field, select Custom

service_custom.png5. Open the Live Stream settings in the personal account, find the link in the PUSH URL field. key_server.png

6. Specify the part of the link before /in/ in the Server field. This is the server URL generated for you.

7. Specify the part of the link after in/  in the Stream key field.

obs_server.pngStart the stream, and it will be sent to the Streaming servers.

Export a stream

After the stream is started, embed it in your platform.

You can send the stream both to the G-Core Labs and to your own player.

Use the G-Core Labs player and set up the broadcast

1. Create a Broadcast.

create_a_broadcast.png2. Set the broadcast name, move the required streams to the right list, and click Create.

3. Read here about additional options available for broadcasting.

broadcast_2.png

4. To get the player, go to the Export tab

5. Here you will find the broadcast preview and an iframe that can be inserted into the site code.

broadcast_export____________.png

 

Use your own player

1. Go to Live Streams.

2. Then open the settings of the stream.

3. Open the Export tab. Here is a link to the m3u8 playlist that can be embedded in any player that supports the hls.js library.

hls_url_____.png

Was this article helpful?
Recently viewed articles