mirror of
https://github.com/livekit/livekit.git
synced 2026-07-18 02:46:20 +00:00
Add support for datastream trailer (#3329)
This commit is contained in:
@@ -1910,6 +1910,10 @@ func (p *ParticipantImpl) onDataMessage(kind livekit.DataPacket_Kind, data []byt
|
||||
if payload.StreamChunk == nil {
|
||||
return
|
||||
}
|
||||
case *livekit.DataPacket_StreamTrailer:
|
||||
if payload.StreamTrailer == nil {
|
||||
return
|
||||
}
|
||||
default:
|
||||
p.pubLogger.Warnw("received unsupported data packet", nil, "payload", payload)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user