...
Code Block | ||
---|---|---|
| ||
contact.responseVideoUpgrade(Boolean <true/false>, String <divID>);
// Example: Agent accept the media escalation
contact.responseVideoUpgrade(true, "videoPanel");
// Example: agent rejected the media escalation
contact.responseVideoUpgrade(false, "videoPanel"); |
Response Event notification (on customer side)
Code Block | ||
---|---|---|
| ||
contact.on("responseVideoUpgrade", function (event) { console.log("On [responseVideoUpgrade] event", event.response); // no action is required by the integration. // the audio / video connection will be automatically engaged // upon receipt of the positive response. } ) |
...
A custom integration can bind a callback to receive notification about the participants members of the video engagement session.
...