diff --git a/src/gst.rs b/src/gst.rs index 4e581b8..5e6fd03 100644 --- a/src/gst.rs +++ b/src/gst.rs @@ -20,7 +20,8 @@ pub fn new_pipeline(config: &AppConfig) -> Pipeline { .name("camera_to_rtp_pipeine") .build(); - let source = ElementFactory::make("mfvideosrc") + // let source = ElementFactory::make("mfvideosrc") + let source = ElementFactory::make("v4l2src") .build() .expect("Could not make mfvideosrc element!"); diff --git a/src/main.rs b/src/main.rs index 21f3be7..7580f2d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -274,7 +274,11 @@ async fn main() { } info!("webrtc kickoff complete, entering watch mode"); - } // end supports_webrtc portion + } + // end supports_webrtc portion + else { + info!("Skipped webrtc setup"); + } // loop through messages coming from the remote. loop {