From 64b79f4579c1562c90727059e10f1e9747ac0c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 29 Jan 2023 18:24:49 +0100 Subject: [PATCH] update. --- server/internal/types/session.go | 5 ----- server/internal/webrtc/webrtc.go | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/server/internal/types/session.go b/server/internal/types/session.go index 2969feec..9b0f339d 100644 --- a/server/internal/types/session.go +++ b/server/internal/types/session.go @@ -23,11 +23,6 @@ type SessionEvent struct { Session Session } -type HostInformation struct { - Type string - Id string -} - type Session interface { ID() string Name() string diff --git a/server/internal/webrtc/webrtc.go b/server/internal/webrtc/webrtc.go index e0d1d72b..79628165 100644 --- a/server/internal/webrtc/webrtc.go +++ b/server/internal/webrtc/webrtc.go @@ -65,7 +65,7 @@ func (manager *WebRTCManager) Start() { sample, ok := <-manager.capture.Audio().GetSampleChannel() if !ok { - manager.logger.Info().Msg("audio capture channel was closed") + manager.logger.Debug().Msg("audio capture channel is closed") continue // TOOD: Create this goroutine when creating the pipeline. } @@ -96,7 +96,7 @@ func (manager *WebRTCManager) Start() { sample, ok := <-manager.capture.Video().GetSampleChannel() if !ok { - manager.logger.Info().Msg("video capture channel was closed") + manager.logger.Debug().Msg("video capture channel is closed") continue // TOOD: Create this goroutine when creating the pipeline. }