Table of Contents

maxNrCalls

wrtc.maxNrCalls is an object property controlling the maximum number of call objects wrtc is allowed to create. The maximum number of simultaneous calls allowed.

As long as the number of calls are below this value wrtc will be ready to receive new incoming calls and place new outgoing calls.

If the number of calls are equal to this value wrtc will no longer accept any more incoming calls and will refuse place new outgoing calls.

Value

Maximum number of simultaneous calls allowed.

Default value

1

Usage

Usually you set wrtc.maxNrCalls in wrtc.init().

Also see

wrtc.call()