mirror of
https://github.com/livekit/livekit.git
synced 2026-07-28 20:49:26 +00:00
nil checks
This commit is contained in:
@@ -953,9 +953,11 @@ func (p *ParticipantImpl) rtcpSendWorker() {
|
||||
|
||||
throttlePkts := []rtcp.Packet{pkt}
|
||||
p.rtcpThrottle.add(mediaSSRC, func() {
|
||||
if err := p.publisher.pc.WriteRTCP(throttlePkts); err != nil {
|
||||
logger.Errorw("could not write RTCP to participant", err,
|
||||
"participant", p.Identity())
|
||||
if p.publisher != nil && p.publisher.pc != nil {
|
||||
if err := p.publisher.pc.WriteRTCP(throttlePkts); err != nil {
|
||||
logger.Errorw("could not write RTCP to participant", err,
|
||||
"participant", p.Identity())
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
package version
|
||||
|
||||
const Version = "0.9.15-SNAPSHOT"
|
||||
const Version = "0.9.14-SNAPSHOT"
|
||||
|
||||
Reference in New Issue
Block a user