Class
caplin.sljsadapter.providers

StreamLinkConnectionService

Implements caplin.services.ConnectionService, caplin.streamlink.ConnectionListener.
Provides information about the status of a connection to a SLJS streaming server. Note: The StreamlinkConnectionService will inform us about the state of the services that are connected to the streaming service. These are logical names for 1 or more sources of data. If these sources of data have any problems, Streamlink will know when to notify us about the connection status change on the service they provide. It is important to know that this behaviour won't happen if the source of data is feeding Transformer, meaning, we won't get any notification for any status change on services which are provided by Transformer unless Transformer itself has a connection status change.

Constructor Summary

Attributes Name and Description
caplin.sljsadapter.providers.StreamLinkConnectionService( oStreamlink)

Method Summary

Attributes Name and Description
void addStatusChangedListener( oListener, bNotifyImmediately)

void connect()

void disconnect()

void onConnectionStatusChange( connectionStatusEvent)

void onServiceStatusChange( serviceStatusEvent)

void removeStatusChangedListener( oListener)

Constructor Detail

caplin.sljsadapter.providers.StreamLinkConnectionService( oStreamlink)

Parameters
oStreamlink

Method Detail

void addStatusChangedListener( oListener, bNotifyImmediately)

Parameters
oListener
bNotifyImmediately
See
caplin.services.ConnectionService#addStatusChangedListener

void onConnectionStatusChange( connectionStatusEvent)

Parameters
connectionStatusEvent
See
caplin.streamlink.ConnectionListener#onConnectionStatusChange

void onServiceStatusChange( serviceStatusEvent)

Parameters
serviceStatusEvent
See
caplin.streamlink.ConnectionListener#onServiceStatusChange

void removeStatusChangedListener( oListener)

Parameters
oListener
See
caplin.services.ConnectionService#removeStatusChangedListener