chore: reduce streaming event log verbosity
- Remove verbose streaming event logs that spam the console - Only log when actions are taken (camera/screen turned off) - Keep important operational logs but reduce noise
This commit is contained in:
parent
f7b437fbc3
commit
b904653535
3 changed files with 1 additions and 9 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit c443b3b6ac438fe605793415cb141dbcf0b5813e
|
Subproject commit 654454e68decd7aaff3d7eea14c769a3eca8839a
|
||||||
|
|
@ -256,10 +256,6 @@ class VideoRecordingService {
|
||||||
) {
|
) {
|
||||||
// Listen for streaming events to detect when screenshare is turned off
|
// Listen for streaming events to detect when screenshare is turned off
|
||||||
connection.on("startStreaming", ({ video_ssrc, user_id, audio_ssrc }) => {
|
connection.on("startStreaming", ({ video_ssrc, user_id, audio_ssrc }) => {
|
||||||
console.log(
|
|
||||||
`[Docker] Video streaming event - User: ${user_id}, Video SSRC: ${video_ssrc}, Target: ${targetUserId}`
|
|
||||||
);
|
|
||||||
|
|
||||||
// Check if this is our target user and they turned off their screenshare
|
// Check if this is our target user and they turned off their screenshare
|
||||||
if (user_id === targetUserId && (video_ssrc === 0 || !video_ssrc)) {
|
if (user_id === targetUserId && (video_ssrc === 0 || !video_ssrc)) {
|
||||||
console.log(
|
console.log(
|
||||||
|
|
|
||||||
|
|
@ -276,10 +276,6 @@ class WebcamRecordingService {
|
||||||
) {
|
) {
|
||||||
// Listen for streaming events to detect when camera is turned off
|
// Listen for streaming events to detect when camera is turned off
|
||||||
connection.on("startStreaming", ({ video_ssrc, user_id, audio_ssrc }) => {
|
connection.on("startStreaming", ({ video_ssrc, user_id, audio_ssrc }) => {
|
||||||
console.log(
|
|
||||||
`[Docker] Streaming event - User: ${user_id}, Video SSRC: ${video_ssrc}, Target: ${targetUserId}`
|
|
||||||
);
|
|
||||||
|
|
||||||
// Check if this is our target user and they turned off their camera
|
// Check if this is our target user and they turned off their camera
|
||||||
if (user_id === targetUserId && (video_ssrc === 0 || !video_ssrc)) {
|
if (user_id === targetUserId && (video_ssrc === 0 || !video_ssrc)) {
|
||||||
console.log(
|
console.log(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue