feat: Very basic tally parsing

This commit is contained in:
2024-02-12 22:53:55 +00:00
parent 2ee3d71e78
commit 9d872eecc9
11 changed files with 173 additions and 45 deletions
+1
View File
@@ -10,4 +10,5 @@ atem-connection-rs = { path = "../atem-connection-rs" }
clap = { version = "4.4.18", features = ["derive"] }
color-eyre = "0.5.11"
env_logger = "0.9.0"
log = "0.4.14"
tokio = "1.14.0"
+2 -1
View File
@@ -4,7 +4,7 @@ use atem_connection_rs::{
atem_lib::atem_socket::AtemSocket,
commands::{
command_base::{BasicWritableCommand, SerializableCommand},
mix_effects::ProgramInput,
mix_effects::program_input::ProgramInput,
},
};
@@ -35,6 +35,7 @@ async fn main() {
let mut tracking_id = 0;
loop {
tracking_id += 1;
sleep(Duration::from_millis(5000)).await;
atem.send_command(
&switch_to_source_1.payload(atem_connection_rs::enums::ProtocolVersion::Unknown),