You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: TODO: add a recording finished event when all streams are closed, then execute the following command if pipeline auto-processing is enabled (not ideal for fast recording)
if person_timeout.elapsed_secs() > 3.0{
person_timeout.reset();info!("no person detected for 3 seconds, stop recording");let _session_entity = live_session.0.take().unwrap();let _raw_streams = stream_manager.stop_recording();// TODO: TODO: add a recording finished event when all streams are closed, then execute the following command if pipeline auto-processing is enabled (not ideal for fast recording)// commands.entity(session_entity)// .insert(RawStreams {// streams: raw_streams,// })// .insert(PipelineConfig::default());}
person_timeout.tick(time.delta());
The text was updated successfully, but these errors were encountered:
.insert(RawStreams {
streams: raw_streams,
})
.insert(PipelineConfig::default());
bevy_light_field/tools/viewer.rs
Line 359 in a28416a
The text was updated successfully, but these errors were encountered: