feat: Very basic tally parsing
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user