mirror of
https://github.com/livekit/livekit.git
synced 2026-08-28 05:04:10 +00:00
Add encryption datapacket type (#3869)
* Add encryption datapacket type * update sum
This commit is contained in:
@@ -2558,6 +2558,10 @@ func (p *ParticipantImpl) handleReceivedDataMessage(kind livekit.DataPacket_Kind
|
||||
if payload.StreamTrailer == nil {
|
||||
return
|
||||
}
|
||||
case *livekit.DataPacket_EncryptedPacket:
|
||||
if payload.EncryptedPacket == nil {
|
||||
return
|
||||
}
|
||||
default:
|
||||
p.pubLogger.Warnw("received unsupported data packet", nil, "payload", payload)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user