mirror of
https://github.com/livekit/livekit.git
synced 2026-07-31 07:19:25 +00:00
Add topics to data channel messages (#1489)
* Add topics to data channel messages * update protocol
This commit is contained in:
@@ -610,6 +610,7 @@ func (r *RoomManager) handleRTCMessage(ctx context.Context, roomName livekit.Roo
|
||||
up := &livekit.UserPacket{
|
||||
Payload: rm.SendData.Data,
|
||||
DestinationSids: rm.SendData.DestinationSids,
|
||||
Topic: rm.SendData.Topic,
|
||||
}
|
||||
room.SendDataPacket(up, rm.SendData.Kind)
|
||||
case *livekit.RTCNodeMessage_UpdateRoomMetadata:
|
||||
|
||||
Reference in New Issue
Block a user