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 f05db80 commit 41b4417Copy full SHA for 41b4417
src/subscriber.go
@@ -48,12 +48,12 @@ func NewSubscriber(call *Call) *Subscriber {
48
49
func (s *Subscriber) initLoggingWithTrack(track *webrtc.TrackRemote) {
50
s.mutex.Lock()
51
+ defer s.mutex.Unlock()
52
s.logger = s.call.logger.WithFields(logrus.Fields{
53
"track_id": (*track).ID(),
54
"track_kind": (*track).Kind(),
55
"stream_id": (*track).StreamID(),
56
})
- s.mutex.Unlock()
57
}
58
59
func (s *Subscriber) Subscribe(publisher *Publisher) {
0 commit comments