callUser

abstract fun callUser(userId: String, mediaConstraints: MediaConstraints): Call

Makes a call to the user with the given id.

Return

A Call instance.

Parameters

userId

The app specific id of the user to call. May not be empty.

mediaConstraints

Media constraints for given user call.

Throws

If missing a permission required to place a call.


abstract fun callUser(userId: String, mediaConstraints: MediaConstraints, callHeaders: Map<String, String>?): Call

Makes a call to the user with the given id.

Return

A Call instance.

Parameters

userId

The app specific id of the user to call. May not be empty.

mediaConstraints

Media constraints for given user call.

callHeaders

Headers to pass with the call.

Throws

If the size of all headers strings exceeds 1024 bytes when encoded as UTF-8.

If missing a permission required to place a call.