Instantiating Video Service
Last updated
Last updated
In order to instantiate the AloVideo object you are required to provide a number of properties. See
Once you have defined the properties you instantiate as shown:
Once instantiated, and , the user will be connected to the AloAudio Service. There are a number of event fire that are related to this connection:
Event
Description
onConnectionChange
As the connection to the Video Service is established events showing the following statuses will be dispatched:
AloVideo.CONNECTION_STATUS_ACQUIRING_ACCESS, AloVideo.CONNECTION_STATUS_CONNECTING, AloVideo.CONNECTION_STATUS_CONNECTED, AloVideo.STATUS_NOT_CONNECTED, AloVideo.CONNECTION_STATUS_ERROR, AloVideo.CONNECTION_STATUS_CONNECTED, AloVideo.CONNECTION_STATUS_RECONNECT_PENDING.
onDisconnect
Once disconnected, either intentionally or due to an error, the onDisconnect event will be dispatched.