Table of Contents

onHold()

wrtc.onHold() is an event function called when when call has been put on hold by other end, or retrieved from hold.

It only occurs if we have been put on hold by other end, not by local call.putOnHold() and call.retrieveFromHold().

You can use this event to display call has been put on hold. Audio and voice is muted automatically by wrtc_kit, you do not need to do anything.

Arguments

wrtc.onHold(obj, hold)

  • obj - call object raising the event
  • hold - boolean:
    • true - call has been put on hold by other end
    • false - call has been retrieved by other end

Return value

Ignored.

ixnx/wrtc/js/api/wrtc/onhold.txt · Last modified: by tibor
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0