Skip to end of metadata
Go to start of metadata

Client.modifyResponse() function allows you to send the upgrade response for the rehydrated HI request received.

API Parameters

Client.modifyResponse({
type: type,
sessionId: sessionId,
to: userId,
localMedia: media,onSuccess: function(args) {},
onFailure:function(args) {}  });

All parameters are mandatory.

Callback Functions

Following is a brief description of the callback function related to the Client.modifyResponse() function:

API Parameters

Client.addonNotifyRehydration(onNotifyRehydration);

This callback function gets the active_sessions from the server, and triggers rehydrated HI request for the active session.
  • No labels