mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 23:55:25 +00:00
Adding logs when clients reconnect (#1598)
This commit is contained in:
@@ -278,6 +278,9 @@ func (r *RoomManager) StartSession(
|
||||
"sdk", pi.Client.Sdk,
|
||||
"sdkVersion", pi.Client.Version,
|
||||
"protocol", pi.Client.Protocol,
|
||||
"reconnect", pi.Reconnect,
|
||||
"reconnectReason", pi.ReconnectReason,
|
||||
"adaptiveStream", pi.AdaptiveStream,
|
||||
)
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
||||
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
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user