Rate this page:

easyProcess

Copy URL
easyProcess(call1: 

Call

,
call2:

Call

,
onEstablishedCallback:

Function

,
direct:

boolean

):

any

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 call is established. Both call1 and call2 are passed to this function as parameters

  • direct:

    boolean

    Optional

    If it's true, P2P mode will be enabled. It's false by default.

Returns

  • type:

    any