We accelerate websites

15 days free trial Sign up

Media Acceleration Stream to the world

15 days free trial Sign up

Extensive Network Excellent world coverage

Create CDN Live service

URI

https://cdnsun.com/api/cdns

Method

POST

Curl example

curl -i -X POST -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/cdns' -d '{"cdn":{"service_type":"STREAM_LIVE","service_domain":"live.mycompany.com","publishing":"pull"}}'

Options

OptionData TypeDescriptionExampleKnown Values
service_type*stringSpecify the CDN service type.STREAM_LIVESTREAM_LIVE
service_domain*stringSpecify the domain name for customized streaming CDN URLs. Please note that a subdomain of ".r.cdnsun.net" will also be assigned to the CDN service.live.mycompany.com 
publishing*stringSpecify the type of publishing.pullpull, push
origin_pop_idintegerSpecify the integer id of the Origin PoP for Push publishing.5 
failover_origin_pop_idintegerSpecify the integer id of the Failover Origin PoP for Push publishing.10 
origin_urlstringSpecify the origin RTMP URL for Pull publishing.rtmp://www.mycompany.com/live-stream/ 
failover_origin_urlstringSpecify the failover origin RTMP URL for Pull publishing.rtmp://backup.mycompany.com/live-stream/ 
location_idsarraySpecify the integer id(s) of subscribed CDN Locations.[1, 2] 
 
   _____    _____    __   __   __   __  
  / ___//  |  ___||  \ \\/ //  \ \\/ // 
  \___ \\  | ||__     \   //    \ ` //  
  /    //  | ||__     / . \\     | ||   
 /____//   |_____||  /_//\_\\    |_||   
`-----`    `-----`   `-`  --`    `-`'   
                                        
Europe
  • Amsterdam
  • Athens
  • Baku
  • Bucharest
  • Budapest
  • Chelyabinsk
  • Copenhagen
  • Dubai
  • Dublin
  • Frankfurt
  • Helsingborg
  • Helsinki
  • Istanbul
  • Khabarovsk
  • Kiev
  • Lisbon
  • London
  • Lvov
  • Milan
  • Moscow
  • Odessa
  • Paris
  • Polevskoy
  • Saint Petersburg
  • Stockholm
  • Tel Aviv-Yafo
  • Trondheim
  • Zagreb
America
  • Arlington
  • Atlanta
  • Chicago
  • Dallas
  • Denver
  • Green Bay
  • Los Angeles
  • Miami
  • Montreal
  • New York
  • Phoenix
  • Portland
  • Provo
  • Queretaro
  • Reston
  • Sacramento
  • San Jose
  • Sao Paulo
  • Seattle
  • Toronto
  • Washington
Contact
  • e-mail: info@cdnsun.com
  • skype: cdnsun.com
  • phone: +1 844 300 9206
  • phone: +420 776 256 872
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest