...
High area of the page is reserved for logging pourpose. The lightblue panel will display all the activities and notifications relating to CTLive Agent SDK library.
Another A lower panel element is reserved for video streaming.
Info |
---|
This CTLiveAgent SDK integration sample is not intended for standalone use. |
...
Press the LOGIN button to login into CTLive engine as a new agentAgent. The log panel will display the authentication result.
...
To login in order to support Video capabilities, it’s needed to add an additional flag to Login request enableVideo = true. Check API documentation login.
Join a Chat
The sample can join an ongoing chat between Agent and Customer by using the ChatID and pressing the JOIN CHAT button.
...
The video stream will be rendered in the DOM Element whose ID is “videoPanel”.
Also the Participant and audio/video Devices notifications will be automatically bind with custom callbacks:
...