adv.sendWrtcCmd()

call.adv.sendWrtcCmd() is used to transmit data to other end of a call using RTCgate signaling channel.

It is intended to send small amounts of user commands and arguments to the remote client. For large amounts of data use data channel instead.

Arguments

call.adv.sendWrtcCmd(data)

  • data - string or JSON data containing user command to send.

Returns

Nothing.

Will trigger wrtc.onWrtcCmd() at receiving end.

Example

call.adv.sendWrtcCmd({cmd:"yourcmd", data:"yourdata"});

See also

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