mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 21:45:24 +00:00
Do not send blank frame if not sending leave (#899)
This commit is contained in:
@@ -783,7 +783,7 @@ func (p *ParticipantImpl) Close(sendLeave bool, reason types.ParticipantCloseRea
|
||||
// Close will block.
|
||||
go func() {
|
||||
for _, dt := range downTracksToClose {
|
||||
dt.Close()
|
||||
dt.CloseWithFlush(sendLeave)
|
||||
}
|
||||
|
||||
p.publisher.Close()
|
||||
|
||||
Reference in New Issue
Block a user