added 'this worked in the past' to error message
This commit is contained in:
parent
c029d6ccc5
commit
466ed1f43a
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ async fn main() {
|
|||
// frame buffers from the gstreamer pipeline to send over the webrtc connection
|
||||
let (to_stream, stream) = tokio::sync::mpsc::channel::<Buffer>(10);
|
||||
|
||||
let rt = tokio::runtime::Handle::current();
|
||||
// let rt = tokio::runtime::Handle::current();
|
||||
|
||||
let stream: Arc<tokio::sync::Mutex<tokio::sync::mpsc::Receiver<Buffer>>> =
|
||||
Arc::new(tokio::sync::Mutex::new(stream));
|
||||
|
@ -90,7 +90,7 @@ async fn main() {
|
|||
|
||||
// Start the gstreamer pipeline
|
||||
if let Err(e) = pipeline.pipeline.set_state(State::Playing) {
|
||||
panic!("Could not start pipeline! {e}");
|
||||
panic!("Could not start pipeline! Is there a video source connected?\nError: {e}");
|
||||
}
|
||||
|
||||
let cs2 = cancel_tasks.clone();
|
||||
|
|
Loading…
Reference in a new issue