CDN Manager  1.7.0

BLOBkit Javascript Library > cdn > TVB.cdn
Search:
 
Filters

static Class TVB.cdn

Object for handling the CDN Manager

Methods

detectProvider

void detectProvider ( url )
The connector to use could be found by looking the url protocol
Parameters:
url <String> The url of the stream
Returns: void

getRtmpUrl

String getRtmpUrl ( fileUrl , cdnType )
Returns the rtmp url of a given stream for a given cdnType. If the cdn is not specified the algorithm tries to guess it decoding the url
Parameters:
fileUrl <String> The url of the stream
cdnType <String> Optional parameter; is the cdn type name
Returns: String
The real playback url, null if not available

selectConnector

void selectConnector ( cdnType )
Selects the connector to use by the given cdn type
Parameters:
cdnType <String>
Returns: void


Copyright © 2011 TVBLOB S.r.l. All rights reserved. The BLOBkit library is a resource ofBLOBforge.