connect()
on your client instance.
TransportState
Your transport instance goes through a series of states during its lifecycle. These states are:
Disconnected
Initializing
rtviClient.initDevices()
call, where the transport is being set up in
order to enumerate local media devices.Initialized
rtviClient.initDevices()
call.Authenticating
rtviClient.connect()
and is waiting for a response
from your server containing ‘auth bundle’ credentials (such as a session URL
and token.)Connecting
Connected
Ready
Disconnecting
Error
rtviClient.state
, or by defining a callback or event: