CallConfig

call configuration

tsinterface 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

tsnumber

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

tsboolean

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

ts"audio" | "video" | "audioVideo"

maxUsers ?

maximum number of users allowed in call

tsnumber