pub struct InputSwitcherConfig {Show 21 fields
pub fast_switch: bool,
pub delayed_switch: bool,
pub terminate: bool,
pub reuse_port: bool,
pub first_input: i64,
pub primary_input: i64,
pub cycle_count: i64,
pub buffered_packets: i64,
pub max_input_packets: i64,
pub max_output_packets: i64,
pub sock_buffer: i64,
pub remote_server_port: i64,
pub receive_timeout: i64,
pub event_command: String,
pub event_udp_address: String,
pub event_udp_port: i64,
pub event_local_address: String,
pub event_ttl: i64,
pub application_name: String,
pub inputs: Vec<SwitcherInput>,
pub output: Option<SwitcherOutput>,
}Expand description
Typed configuration for one InputSwitcher start.
Fields§
§fast_switch: boolSelect fast switching.
delayed_switch: boolDelay switching until the next safe packet boundary.
terminate: boolTerminate when all inputs terminate.
reuse_port: boolReuse the remote-control port.
first_input: i64Initial input index.
primary_input: i64Primary input index, or -1 when unset.
cycle_count: i64Number of input cycles.
buffered_packets: i64Buffered packets.
max_input_packets: i64Maximum packets per input operation.
max_output_packets: i64Maximum packets per output operation.
sock_buffer: i64Socket buffer size in bytes.
remote_server_port: i64Remote-control server port.
receive_timeout: i64Receive timeout in milliseconds.
event_command: StringExternal switch-event command.
event_udp_address: StringRemote event UDP address.
event_udp_port: i64Remote event UDP port.
event_local_address: StringLocal event UDP address.
event_ttl: i64Event UDP TTL.
application_name: StringApplication name passed to TSDuck’s plugin parser.
inputs: Vec<SwitcherInput>Typed input plugins.
output: Option<SwitcherOutput>Optional typed output plugin.
Trait Implementations§
Source§impl Clone for InputSwitcherConfig
impl Clone for InputSwitcherConfig
Source§impl Debug for InputSwitcherConfig
impl Debug for InputSwitcherConfig
Auto Trait Implementations§
impl Freeze for InputSwitcherConfig
impl RefUnwindSafe for InputSwitcherConfig
impl Send for InputSwitcherConfig
impl Sync for InputSwitcherConfig
impl Unpin for InputSwitcherConfig
impl UnsafeUnpin for InputSwitcherConfig
impl UnwindSafe for InputSwitcherConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more