Skip to main content

Interface: RoomEvents

Interface describing possible room events.

Extends

Properties

AudioActivity

AudioActivity: AudioActivityEventHandler

A media in the room is sending/receiving data.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:400


AudioConnection

AudioConnection: AudioConnectionEventHandler

Indicates, when the Audio Connection is started or stopped.

Inherited from

MediaSharedEvents.AudioConnection

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:363


AudioInputStarted

AudioInputStarted: AudioInputEventCallback

A new AudioCapture was started.

Inherited from

MediaSharedEvents.AudioInputStarted

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:331


AudioInputStopped

AudioInputStopped: AudioInputEventCallback

A AudioCapture was stopped.

Inherited from

MediaSharedEvents.AudioInputStopped

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:335


AudioOutputStarted

AudioOutputStarted: AudioOutputEventCallback

A new AudioOutput was started.

Inherited from

MediaSharedEvents.AudioOutputStarted

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:339


AudioOutputStopped

AudioOutputStopped: AudioOutputEventCallback

A AudioOutput was stopped.

Inherited from

MediaSharedEvents.AudioOutputStopped

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:343


AudioPowerLevel

AudioPowerLevel: AudioActivityEventHandler

The rmsDBFS value of Medias is being updated.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:404


AudioStats

AudioStats: OdinAudioStatsEventHandler

Internal encoder/decoder stats updates.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:412


ConnectionStats

ConnectionStats: ConnectionStatsEventHandler

RTC connection stats of the odin room connection. Multiple rooms can use the same connection.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:417


DebugMessage

DebugMessage: DebugEventCallback

Gets called whenever a new debug message was created.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:421


Joined

Joined: JoinedEventHandler

Room join was successfully performed.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:372


Left

Left: LeftEventHandler

Gets called, when the server disconnected the client. Provides a reason.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:376


MediaStarted

MediaStarted: MediaEvent

A Media was stopped.

Inherited from

MediaSharedEvents.MediaStarted

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:323


MediaStopped

MediaStopped: MediaEvent

A Media was started.

Inherited from

MediaSharedEvents.MediaStopped

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:327


MessageReceived

MessageReceived: MessageReceivedEventHandler

Received a message with arbitrary data.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:408


PeerJoined

PeerJoined: JoinedEventHandler

A new peer entered the room.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:388


PeerLeft

PeerLeft: PeerLeftEventHandlerHandler

A peer left the room.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:392


RoomDataChanged

RoomDataChanged: RoomDataChangedEventHandler

The global room user data was updated.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:384


RoomStatusChanged

RoomStatusChanged: RoomStatusChangedEventHandler

Room stream connection state updates.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:380


UserDataChanged

UserDataChanged: PeerDataChangedEventHandler

A peer in the room updated its user data.

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:396


VideoInputStarted

VideoInputStarted: VideoInputEventCallback

A new VideoCapture was started.

Inherited from

MediaSharedEvents.VideoInputStarted

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:347


VideoInputStopped

VideoInputStopped: VideoInputEventCallback

A VideoInput was stopped.

Inherited from

MediaSharedEvents.VideoInputStopped

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:351


VideoOutputAdded

VideoOutputAdded: VideoOutputEventCallback

A new VideoOutput was started.

Inherited from

MediaSharedEvents.VideoOutputAdded

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:355


VideoOutputRemoved

VideoOutputRemoved: VideoOutputEventCallback

A VideoOutput was stopped.

Inherited from

MediaSharedEvents.VideoOutputRemoved

Defined in

Odin/odin-typescript/lib/api/room/types.d.ts:359