Rate this page:

easyProcess

Copy URL
easyProcess(call1: 

Call

,
call2:

Call

,
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:

    Call

    incoming alerting call

  • call2:

    Call

    Newly created outgoing call

  • onEstablishedCallback:

    Function

    Optional

    Function to be called once the call is established. Both call1 and call2 are passed to this function as parameters

  • direct:

    false

    Optional

    Whether the call is in the P2P mode. It is The default value is false.

Returns

  • type:

    void