Connect to a Channel
Channels
Traditional two-way radios (also know as walkie-talkies) use channels as a way to partition radio communication. Unlike tradition 2-way radios that have a limited number of channels due to frequency constraints, ĀLO can support a virtually unlimited number of channels, We decided to use the term channel as the place where one or more people communicate in ĀLO.
Connecting
To connect to an video service channel you call the connect(channel)
method:
Property
Type
Description
aloVideo.connect(videoChannel);
Channel Connection Related Events
Event
Description
onJoinChannel
As the connection to the Video Service is established events showing the following statuses will be dispatched: AloVideo.CHANNEL_STATUS_JOINING, AloVideo.CHANNEL_STATUS_JOINED, AloVideo.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()
Last updated