Do not send blank frame if not sending leave (#899)

This commit is contained in:
Raja Subramanian
2022-08-09 15:54:59 +05:30
committed by GitHub
parent 4d7df612ec
commit 82439538e7
+1 -1
View File
@@ -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()