Suggestions

close search

StringeeVideoRoom class

Represents a room. Used to manager room, room's events.


Properties


idString?

It's the unique identification of the room on Stringee system.

recordedbool

Whether the room is recorded:


Methods


registerEvent(StringeeRoomListener roomListener)void

Register to listen to events from StringeeRoom.

publish(StringeeVideoTrack videoTrack, {StringeeVideoTrackOption? option})Map<dynamic, dynamic>

Publish video track to room. If successful return new StringeeVideoTrack with id from Stringee server in callBack['body'].

unpublish(StringeeVideoTrack videoTrack)Map<dynamic, dynamic>

Unpublish video track from room.

subscribe(StringeeVideoTrackInfo trackInfo, StringeeVideoTrackOption option)Map<dynamic, dynamic>

Subscribe video track in room. If successful return StringeeVideoTrack of participant in callBack['body'].

unsubscribe(StringeeVideoTrackInfo trackInfo)Map<dynamic, dynamic>

Unsubscribe video track in room.

leave({bool? allClient})Map<dynamic, dynamic>

Leave room.

sendMessage(Map<dynamic, dynamic> msg)Map<dynamic, dynamic>

Sends any message to room.