Improve some logging

This commit is contained in:
Torjus Håkestad 2023-11-30 23:59:51 +01:00
parent 86e9024a07
commit 11a6ad7704

View File

@ -243,7 +243,7 @@ func (s *StreamStore) Add(streamKey string, sd *webrtc.SessionDescription) (*web
answerChan <- peerConnection.CurrentLocalDescription() answerChan <- peerConnection.CurrentLocalDescription()
s.Streams[streamKey] = stream s.Streams[streamKey] = stream
slog.Info("Added stream.", "stream_key", streamKey, "answer", answer) slog.Info("Added stream.", "stream_key", streamKey)
}() }()
answer := <-answerChan answer := <-answerChan