Choose Publishing - Pull or Push
There are two types of CDN Live services - with Pull Publishing and with Push Publishing. Please refer to Differences between pull and push publishing for more details.
Create a CDN Live service with Pull Publishing
- Go to Services → New Service → Live.
- Fill in your desired CDN Service Domain. Fill in any valid domain name, please refer here for more details.
- Select Pull from the Publishing select box.
- Fill in the RTMP Origin URL of your origin live stream and (recommended) Failover Origin URL as in the picture below.
- Click on the Create Service button and you will redirected to a CDN integration how-to page containing all necessary information (including optional DNS instructions) required for successful integration of your CDN service into your website.
- That's all.
Please note that your origin live stream has to be published over RTMP protocol in MP4 or FLV container format and encoded with H.264 video codec and AAC or MP3 audio codec. In particular your Origin URL has to be in the following format.
rtmp://mycompany.com/path-to-stream/
Please exclude stream name from your Origin URL as in the above example.
If your origin stream is published over HTTP protocol then please refer to HLS streaming through a CDN Static service.
Create a CDN Live service with Push Publishing
- Go to Services → New Service → Live.
- Fill in your desired CDN Service Domain. Fill in any valid domain name, please refer here for more details.
- Select Push from the Publishing select box.
- Choose an Origin PoP for Push publishing and (recommended) Failover Origin PoP as in the picture below.
- Click on the Create Service button and you will redirected to a CDN integration how-to page containing all necessary information (including optional DNS instructions) required for successful integration of your CDN service into your website.
- That's all.
Please note that the output from your live encoder has to be in MP4 or FLV container format and encoded with H.264 video codec and AAC or MP3 audio codec.
Notes
- CDN Live service transcodes origin stream to 5 streaming protocols to provide compatibility with all devices, please refer to Supported CDN streaming protocols and formats for more details.
- Please note that you can stream multiple streams (determined by different stream names) through a single CDN Live service.
- CDN Live service does not transcode a single bitrate origin stream to a multi bitrate CDN stream. CDN stream is published in the same bitrate as the origin stream. Read how to simultaneously publish more origin streams and create a multi bitrate CDN stream.
- Please note that for transcoding to HLS and HDS protocols via CDN Live service with Pull Publishing it is required that your origin streaming server is Wowza.
- CDN Live service does not record live streams (DVR).
- Please note that except query string variables defined by Token Authentication CDN Live service does not support query string variables, e.g. http://12345.r.cdnsun.net/12345/_definst_/mystream/playlist.m3u8?myvariable=value.
What next?
Read about the following topics.