easyProcess
easyProcess(call1: , call2: , onEstablishedCallback: Function
, direct: false
| true
): void
Adds all default event listeners to pass signaling information between two calls. The source code of the method is available on GitHub.
Parameters
call1:
Incoming alerting call
call2:
Newly created outbound call
onEstablishedCallback:
Function
OptionalFunction to be called once the call is established. Both call1 and call2 are passed to this function as parameters
direct:
false
OptionalIf it is true, P2P mode is enabled. It is false by default.
Returns
type:
void