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.
time.Before()
time.After()
1 parent 402f9b8 commit cf9880bCopy full SHA for cf9880b
pkg/conference/peer_message_processor.go
@@ -112,7 +112,7 @@ func (c *Conference) processRTCPPackets(msg peer.RTCPReceived) {
112
113
for _, participant := range c.participants {
114
if published, ok := participant.publishedTracks[msg.TrackID]; ok {
115
- if published.canSendKeyframeAt.After(time.Now()) {
+ if published.canSendKeyframeAt.Before(time.Now()) {
116
if err := participant.peer.WriteRTCP(msg.TrackID, msg.Packets); err == nil {
117
published.canSendKeyframeAt = time.Now().Add(sendKeyFrameInterval)
118
}
0 commit comments