Closed KallynGowdy closed 2 years ago
os.joinRoom(roomName, options?)
os.leaveRoom(roomName, options?)
os.getRoomOptions(roomName)
os.setRoomOptions(roomName, options)
os.getRoomTrackOptions(roomName, trackAddress)
os.setRoomTrackOptions(roomName, trackAddress, options)
os.getRoomRemoteOptions(roomName, remoteId)
@onRoomJoined
os.joinRoom()
@onRoomLeave
os.leaveRoom()
@onRoomStreaming
@onRoomStreamLost
@onRoomTrackSubscribed
@onRoomTrackUnsubscribed
@onRoomRemoteJoined
@onRoomRemoteLeave
@onRoomSpeakersChanged
@onRoomOptionsChanged
rooms-example
:rocket: Improvements
os.joinRoom(roomName, options?)
os.leaveRoom(roomName, options?)
os.getRoomOptions(roomName)
os.setRoomOptions(roomName, options)
os.getRoomTrackOptions(roomName, trackAddress)
os.setRoomTrackOptions(roomName, trackAddress, options)
os.getRoomRemoteOptions(roomName, remoteId)
@onRoomJoined
- Sent whenever a room has been joined viaos.joinRoom()
@onRoomLeave
- Sent whenever a room has been exited viaos.leaveRoom()
@onRoomStreaming
- Sent whenever the local user has been connected or reconnected to a room.@onRoomStreamLost
- Sent whenever the local user has been disconnected from a room.@onRoomTrackSubscribed
- Sent whenever an audio/video track has been discovered inside a room.@onRoomTrackUnsubscribed
- Sent whenever an audio/video track has been removed from a room.@onRoomRemoteJoined
- Sent whenever a remote user has joined a room.@onRoomRemoteLeave
- Sent whenever a remote user has left a room.@onRoomSpeakersChanged
- Sent whenever the list of speaking users has changed in a room.@onRoomOptionsChanged
- Sent whenever the local room options have been changed.rooms-example
appBundle for an example.