Adding logs when clients reconnect (#1598)
This commit is contained in:
@@ -278,6 +278,9 @@ func (r *RoomManager) StartSession(
|
|||||||
"sdk", pi.Client.Sdk,
|
"sdk", pi.Client.Sdk,
|
||||||
"sdkVersion", pi.Client.Version,
|
"sdkVersion", pi.Client.Version,
|
||||||
"protocol", pi.Client.Protocol,
|
"protocol", pi.Client.Protocol,
|
||||||
|
"reconnect", pi.Reconnect,
|
||||||
|
"reconnectReason", pi.ReconnectReason,
|
||||||
|
"adaptiveStream", pi.AdaptiveStream,
|
||||||
)
|
)
|
||||||
|
|
||||||
clientConf := r.clientConfManager.GetConfiguration(pi.Client)
|
clientConf := r.clientConfManager.GetConfiguration(pi.Client)
|
||||||
|
|||||||
@@ -254,7 +254,12 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
signalStats.AddBytes(uint64(count), true)
|
signalStats.AddBytes(uint64(count), true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pLogger.Infow("new client WS connected", "connID", cr.ConnectionID)
|
pLogger.Infow("new client WS connected",
|
||||||
|
"connID", cr.ConnectionID,
|
||||||
|
"reconnect", pi.Reconnect,
|
||||||
|
"reconnectReason", pi.ReconnectReason,
|
||||||
|
"adaptiveStream", pi.AdaptiveStream,
|
||||||
|
)
|
||||||
|
|
||||||
// handle responses
|
// handle responses
|
||||||
go func() {
|
go func() {
|
||||||
|
|||||||
Reference in New Issue
Block a user