@@ -683,6 +683,7 @@ func (t *MediaTrackReceiver) UpdateAudioTrack(update *livekit.UpdateLocalAudioTr
|
|||||||
t.updateTrackInfoOfReceivers()
|
t.updateTrackInfoOfReceivers()
|
||||||
|
|
||||||
t.params.Telemetry.TrackPublishedUpdate(context.Background(), t.PublisherID(), clonedInfo)
|
t.params.Telemetry.TrackPublishedUpdate(context.Background(), t.PublisherID(), clonedInfo)
|
||||||
|
t.params.Logger.Debugw("updated audio track", "trackInfo", logger.Proto(trackInfo))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *MediaTrackReceiver) UpdateVideoTrack(update *livekit.UpdateLocalVideoTrack) {
|
func (t *MediaTrackReceiver) UpdateVideoTrack(update *livekit.UpdateLocalVideoTrack) {
|
||||||
@@ -706,6 +707,7 @@ func (t *MediaTrackReceiver) UpdateVideoTrack(update *livekit.UpdateLocalVideoTr
|
|||||||
t.updateTrackInfoOfReceivers()
|
t.updateTrackInfoOfReceivers()
|
||||||
|
|
||||||
t.params.Telemetry.TrackPublishedUpdate(context.Background(), t.PublisherID(), clonedInfo)
|
t.params.Telemetry.TrackPublishedUpdate(context.Background(), t.PublisherID(), clonedInfo)
|
||||||
|
t.params.Logger.Debugw("updated video track", "trackInfo", logger.Proto(trackInfo))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *MediaTrackReceiver) TrackInfo() *livekit.TrackInfo {
|
func (t *MediaTrackReceiver) TrackInfo() *livekit.TrackInfo {
|
||||||
|
|||||||
@@ -2838,6 +2838,8 @@ func (p *ParticipantImpl) UpdateAudioTrack(update *livekit.UpdateLocalAudioTrack
|
|||||||
ti.DisableDtx = true
|
ti.DisableDtx = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.pubLogger.Debugw("updated pending track", "trackID", ti.Sid, "trackInfo", logger.Proto(ti))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user