Add remote participant context to logger (#815)

This commit is contained in:
Raja Subramanian
2022-07-07 10:44:10 +05:30
committed by GitHub
parent ef66404a1a
commit 52aed86080
3 changed files with 10 additions and 4 deletions
+3 -1
View File
@@ -183,7 +183,9 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
pLogger := rtc.LoggerWithParticipant(
rtc.LoggerWithRoom(logger.GetDefaultLogger(), roomName, ""),
pi.Identity, "",
pi.Identity,
"",
false,
)
done := make(chan struct{})
// function exits when websocket terminates, it'll close the event reading off of response sink as well