MCPcopy Create free account
hub / github.com/RustCV/RustCV / start

Method start

rustcv-backend-avf/src/stream.rs:207–213  ·  view source on GitHub ↗

启动帧采集。

(&mut self)

Source from the content-addressed store, hash-verified

205impl Stream for AvfStream {
206 /// 启动帧采集。
207 async fn start(&mut self) -> CvResult<()> {
208 unsafe {
209 self.session.startRunning();
210 }
211 self.is_streaming = true;
212 Ok(())
213 }
214
215 /// 停止帧采集(不销毁管线,可重新 start)。
216 async fn stop(&mut self) -> CvResult<()> {

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected