Fix: use Self:: for static method calls
This commit is contained in:
@@ -199,7 +199,7 @@ impl SessionManager {
|
|||||||
// If this is the first viewer, send StartStream to agent
|
// If this is the first viewer, send StartStream to agent
|
||||||
if was_empty {
|
if was_empty {
|
||||||
tracing::info!("First viewer {} joined session {}, sending StartStream", viewer_id, session_id);
|
tracing::info!("First viewer {} joined session {}, sending StartStream", viewer_id, session_id);
|
||||||
self.send_start_stream_internal(session_data, &viewer_id).await;
|
Self::send_start_stream_internal(session_data, &viewer_id).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
Some((frame_rx, input_tx))
|
Some((frame_rx, input_tx))
|
||||||
@@ -233,7 +233,7 @@ impl SessionManager {
|
|||||||
// If no more viewers, send StopStream to agent
|
// If no more viewers, send StopStream to agent
|
||||||
if session_data.viewers.is_empty() {
|
if session_data.viewers.is_empty() {
|
||||||
tracing::info!("Last viewer {} left session {}, sending StopStream", viewer_id, session_id);
|
tracing::info!("Last viewer {} left session {}, sending StopStream", viewer_id, session_id);
|
||||||
self.send_stop_stream_internal(session_data, viewer_id).await;
|
Self::send_stop_stream_internal(session_data, viewer_id).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user