We accelerate websites

30 days free trial Sign up

Media Acceleration Stream to the world

30 days free trial Sign up

Extensive Network Excellent world coverage

Edit CDN Live service

URL

https://cdnsun.com/api/cdns/ID

Method

PUT

Curl example

curl -i -X PUT -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/cdns/ID' -d '{"cdn":{"service_domain":"live.mycompany.com"}}'

Options

OptionData TypeDescriptionExample
IDintegerIndicates the CDN service id.5
service_domainstringSpecify the domain name for customized streaming CDN URLs.live.mycompany.com
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]
 
 __   _    __   __   __   _      ___    
| || | ||  \ \\/ // | || | ||   / _ \\  
| '--' ||   \ ` //  | '--' ||  / //\ \\ 
| .--. ||    | ||   | .--. || |  ___  ||
|_|| |_||    |_||   |_|| |_|| |_||  |_||
`-`  `-`     `-`'   `-`  `-`  `-`   `-` 
                                        
Contact 24/7
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest