mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 13:02:53 +00:00
Add topics to data channel messages (#1489)
* Add topics to data channel messages * update protocol
This commit is contained in:
1 parent
99601e6d41
commit
958d2f8284
3 files changed
+4
-3
No files matched your search
@@ -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