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 outgoing 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
OptionalWhether the call is in the P2P mode. It is The default value is false.
Returns
type:
void