pub struct NodeBufferConfig {
pub codec_channel_capacity: usize,
pub stream_channel_capacity: usize,
pub demuxer_buffer_size: usize,
pub moq_peer_channel_capacity: usize,
}Expand description
Runtime configuration for node internal buffers.
These settings affect the async/blocking handoff channels in codec and container nodes. Most users should not need to modify these values.
Fields§
§codec_channel_capacity: usizeCapacity for codec processing channels (e.g. Opus encoder/decoder). Used for async/blocking handoff in codec nodes.
stream_channel_capacity: usizeCapacity for streaming reader channels (container demuxers). Smaller than codec channels because container frames may be larger.
demuxer_buffer_size: usizeDuplex buffer size for ogg demuxer in bytes.
moq_peer_channel_capacity: usizeCapacity for MoQ transport peer internal channels (packets).
Used by MoQ transport nodes for per-connection send/receive coordination. This is not the same as engine graph channel capacities; it only affects the internal queueing within the transport node.
Trait Implementations§
Source§impl Clone for NodeBufferConfig
impl Clone for NodeBufferConfig
Source§fn clone(&self) -> NodeBufferConfig
fn clone(&self) -> NodeBufferConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeBufferConfig
impl Debug for NodeBufferConfig
Auto Trait Implementations§
impl Freeze for NodeBufferConfig
impl RefUnwindSafe for NodeBufferConfig
impl Send for NodeBufferConfig
impl Sync for NodeBufferConfig
impl Unpin for NodeBufferConfig
impl UnwindSafe for NodeBufferConfig
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