getCalls()

wrtc.getCalls() returns an array of all matching call objects. If no argument an array of all call objects are returned.

Arguments

wrtc.getCalls(is)

  • is - (optional) string containing call.is() argument to search for

Returns

Array containing all matching call objects, or an empty array if no matching call found.

If no argument is given returned array will contain all current calls.

If argument is supplied all calls who's call.is() with that argument returns true will be included into returned array.

Events

None.

Example

wrtc.getCalls() returns an array containing all current call objects.

wrtc.getCalls("muted") returns an array containing all muted call objects

Also See

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