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