mirror of
https://github.com/livekit/livekit.git
synced 2026-11-12 09:59:06 +00:00
Do not send blank frame if not sending leave (#899)
This commit is contained in:
1 parent
4d7df612ec
commit
82439538e7
1 file changed
+1
-1
@@ -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