added debug log; switched to linux video source
This commit is contained in:
parent
64458305ca
commit
04ec4fff8f
2 changed files with 7 additions and 2 deletions
|
@ -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!");
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue