Properties authError authError : ( ( reason , client ) => void )
Type declaration ( reason , client ) : void Parameters reason : "missing token" | "invalid token" | "expired token" | "room not found" | "peer not found" client : ClientApi < PeerMetadata , TrackMetadata > Returns void authSuccess authSuccess : ( ( client ) => void )
Type declaration ( client ) : void Returns void bandwidthEstimationChanged bandwidthEstimationChanged : ( ( estimation , client ) => void )
Type declaration ( estimation , client ) : void Returns void componentAdded componentAdded : ( ( peer , client ) => void )
Type declaration ( peer , client ) : void Returns void componentRemoved componentRemoved : ( ( peer , client ) => void )
Type declaration ( peer , client ) : void Returns void componentUpdated componentUpdated : ( ( peer , client ) => void )
Type declaration ( peer , client ) : void Returns void connectionError connectionError : ( ( error , client ) => void )
Type declaration ( error , client ) : void Returns void deviceDisabled deviceDisabled : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void deviceEnabled deviceEnabled : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void deviceReady deviceReady : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void deviceStopped deviceStopped : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void devicesReady devicesReady : ( ( event , client ) => void )
Type declaration ( event , client ) : void Parameters event : { audio : DeviceState & { restarted : boolean ; } ; video : DeviceState & { restarted : boolean ; } ; } & { mediaDeviceType : MediaDeviceType ; } client : ClientApi < PeerMetadata , TrackMetadata > Returns void devicesStarted devicesStarted : ( ( event , client ) => void )
Type declaration ( event , client ) : void Parameters event : { audio ?: DeviceState & { constraints ?: string | boolean ; restarting : boolean ; } ; video ?: DeviceState & { constraints ?: string | boolean ; restarting : boolean ; } ; } & { mediaDeviceType : MediaDeviceType ; } client : ClientApi < PeerMetadata , TrackMetadata > Returns void disconnectRequested disconnectRequested : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void disconnected disconnected : ( ( client ) => void )
Type declaration ( client ) : void Returns void encodingChanged encodingChanged : ( ( context , client ) => void )
Type declaration ( context , client ) : void Returns void error error : ( ( arg , client ) => void )
Type declaration ( arg , client ) : void Returns void joinError joinError : ( ( metadata , client ) => void )
Type declaration ( metadata , client ) : void Returns void joined joined : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localEndpointMetadataChanged localEndpointMetadataChanged : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackAdded localTrackAdded : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackBandwidthSet localTrackBandwidthSet : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackEncodingBandwidthSet localTrackEncodingBandwidthSet : ( ( event , client ) => void )
Type declaration ( event , client ) : void Parameters event : { bandwidth : number ; rid : string ; trackId : string ; } bandwidth : number rid : string trackId : string client : ClientApi < PeerMetadata , TrackMetadata > Returns void localTrackEncodingDisabled localTrackEncodingDisabled : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackEncodingEnabled localTrackEncodingEnabled : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackMetadataChanged localTrackMetadataChanged : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackMuted localTrackMuted : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackRemoved localTrackRemoved : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackReplaced localTrackReplaced : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void localTrackUnmuted localTrackUnmuted : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void managerInitialized managerInitialized : ( ( event , client ) => void )
Type declaration ( event , client ) : void Parameters event : { audio ?: DeviceState ; mediaDeviceType : MediaDeviceType ; video ?: DeviceState ; } Optional
audio ?: DeviceState mediaDeviceType : MediaDeviceType Optional
video ?: DeviceState client : ClientApi < PeerMetadata , TrackMetadata > Returns void managerStarted managerStarted : ( ( event , client ) => void )
Type declaration ( event , client ) : void Parameters event : { audio ?: DeviceState ; video ?: DeviceState ; } & { mediaDeviceType : MediaDeviceType ; } client : ClientApi < PeerMetadata , TrackMetadata > Returns void peerJoined peerJoined : ( ( peer , client ) => void )
Type declaration ( peer , client ) : void Returns void peerLeft peerLeft : ( ( peer , client ) => void )
Type declaration ( peer , client ) : void Returns void peerUpdated peerUpdated : ( ( peer , client ) => void )
Type declaration ( peer , client ) : void Returns void reconnected reconnected : ( ( client ) => void )
Type declaration ( client ) : void Returns void reconnectionRetriesLimitReached reconnectionRetriesLimitReached : ( ( client ) => void )
Type declaration ( client ) : void Returns void reconnectionStarted reconnectionStarted : ( ( client ) => void )
Type declaration ( client ) : void Returns void socketClose socketClose : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void socketError socketError : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void socketOpen socketOpen : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void targetTrackEncodingRequested targetTrackEncodingRequested : ( ( event , client ) => void )
Type declaration ( event , client ) : void Returns void trackAdded trackAdded : ( ( ctx , client ) => void )
Type declaration ( ctx , client ) : void Returns void trackReady trackReady : ( ( ctx , client ) => void )
Type declaration ( ctx , client ) : void Returns void trackRemoved trackRemoved : ( ( ctx , client ) => void )
Type declaration ( ctx , client ) : void Returns void trackUpdated trackUpdated : ( ( ctx , client ) => void )
Type declaration ( ctx , client ) : void Returns void voiceActivityChanged voiceActivityChanged : ( ( context , client ) => void )
Type declaration ( context , client ) : void Returns void
Emitted when authentication fails