Connect to a Channel
Channels
TODO ROSS: Describe what channels are
Connecting
To connect to an audio service channel you call the connect(aloAudioChannel)
method:
Property
Type
Description
Channel Connection Related Events
Event
Description
onJoinChannel
As the connection to the channel within Audio Service is established, events showing the following statuses will be may dispatched:
AloAudio.CHANNEL_STATUS_JOINING,
AloAudio.CHANNEL_STATUS_JOINED,
AloAudio.STATUS_FAILED.
onInvalidAuthenticationToken
When you receive this event it signifies that you need to generate a new authentication token and reconnect to the channel. See setUserAuthToken()
Example Event Payloads
Last updated