We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d67f879 commit 9917596Copy full SHA for 9917596
src/publisher.go
@@ -156,7 +156,7 @@ func (p *Publisher) WriteRTCP(packets []rtcp.Packet) {
156
packetsToSend = append(packetsToSend, packet)
157
}
158
159
- if len(packetsToSend) != 1 {
+ if len(packetsToSend) != 0 {
160
if err := p.Call.PeerConnection.WriteRTCP(packetsToSend); err != nil {
161
if !errors.Is(err, io.ErrClosedPipe) {
162
p.logger.WithError(err).Warn("failed to write RTCP on track")
0 commit comments