Customize Your Streaming URLs
04 Jul 2014

Customize Your Streaming URLs

Recommended Streaming URLs

As you probably know we publish our CDN streams over the most common protocols like RTMP, RTMPE, RTSP, HLS, HDS, Microsoft Smooth Streaming and MPEG-TS.

HTTP Redirector

We recommend to access those URLs via our HTTP redirector at video.cdnsun.net.

Example

To view your CDN RTMP stream mystream it is recommended to use the following HTTP URL.

http://video.cdnsun.net/263055143/mystream.smil

Please refer to Services/How-To in the CDNsun UI for more details.

Our HTTP redirector at video.cdnsun.net will point the player to a CDN RTMP URL similar to the following.

rtmp://401253381.e.263055143.r.cdnsun.net/263055143/_definst_/mystream

Direct Streaming URLs

To view your CDN RTMP stream you can also make use of direct streaming URLs similar to the following.

rtmp://263055143.r.cdnsun.net/263055143/_definst_/mystream

Please refer to Services/How-To in the CDNsun UI for more details.

Finally the point is that you can customize those direct streaming URLs by adding a CNAME record to your DNS configuration.

live.mycompany.com  3600  IN  CNAME   263055143.r.cdnsun.net

Note that live.mycompany.com is a Service Domain of your CDN service. Please refer to Services/How-To in the CDNsun UI for more details.

Example of Customized Streaming URL

rtmp://live.mycompany.com/263055143/_definst_/mystream

Sincerely your CDNsun team.