server fix
This commit is contained in:
parent
374d323bf5
commit
53c86db00c
@ -23,11 +23,9 @@ pub async fn spawn_camera(
|
||||
);
|
||||
let pipeline = gst::parse_launch(&desc)?.downcast::<gst::Pipeline>()?;
|
||||
|
||||
let sink = pipeline
|
||||
.by_name("sink")
|
||||
.expect("appsink")
|
||||
.dynamic_cast::<gst_app::AppSink>()
|
||||
.expect("appsink downcast");
|
||||
let pipeline = gst::parse::launch(&desc)?
|
||||
.downcast::<gst::Pipeline>()
|
||||
.expect("pipeline down-cast");
|
||||
|
||||
let (tx, rx) = tokio::sync::mpsc::channel(256);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user