-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
.insert(RawStreams {
streams: raw_streams,
})
.insert(PipelineConfig::default());
bevy_light_field/tools/viewer.rs
Line 359 in a28416a
| // 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());