CallConfig

call configuration

interface CallConfig {
  defaultPermission?: number;
  joinRequest?: boolean;
  kind?: 'audio' | 'video' | 'audioVideo';
  maxUsers?: number;
}

index

Properties

defaultPermission ?

default user permissions by default users can send and receive any media

number

joinRequest ?

if users should request to join first, channel admins get cnl:req notification and can either allow or deny the new user's join request

boolean

kind ?

media kind allowed in call, can be either 'audio', 'video' or 'audioVideo', changing this property at runtime will mute existing media of the existing kind and new users will not be able to transmit the disallowed kinds

"audio" | "video" | "audioVideo"

maxUsers ?

maximum number of users allowed in call

number