pub struct RtpRewriteBridgeOptions {
pub strip_extensions: bool,
pub initial_sequence_number: Option<u16>,
pub initial_timestamp_offset: Option<u32>,
pub initial_output_timestamp: Option<u32>,
}Expand description
Direction-level rewrite bridge options (not payload-type-scoped).
Fields§
§strip_extensions: boolStrip RTP extension headers before forwarding (WebRTC → RTP).
initial_sequence_number: Option<u16>Seed the first forwarded sequence number of each new source stream.
initial_timestamp_offset: Option<u32>Seed the first forwarded timestamp offset of each new source stream.
Ignored for the first packet when Self::initial_output_timestamp is set.
initial_output_timestamp: Option<u32>Force the first forwarded packet’s output RTP timestamp to this value
by choosing offset = value - src_ts. Later packets keep source
deltas. Use this to continue a destination leg’s paced-sender timeline
when IVR and rewrite share the same outbound SSRC (WebRTC).
Trait Implementations§
Source§impl Clone for RtpRewriteBridgeOptions
impl Clone for RtpRewriteBridgeOptions
Source§fn clone(&self) -> RtpRewriteBridgeOptions
fn clone(&self) -> RtpRewriteBridgeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RtpRewriteBridgeOptions
Source§impl Debug for RtpRewriteBridgeOptions
impl Debug for RtpRewriteBridgeOptions
Source§impl Default for RtpRewriteBridgeOptions
impl Default for RtpRewriteBridgeOptions
Source§fn default() -> RtpRewriteBridgeOptions
fn default() -> RtpRewriteBridgeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RtpRewriteBridgeOptions
impl RefUnwindSafe for RtpRewriteBridgeOptions
impl Send for RtpRewriteBridgeOptions
impl Sync for RtpRewriteBridgeOptions
impl Unpin for RtpRewriteBridgeOptions
impl UnsafeUnpin for RtpRewriteBridgeOptions
impl UnwindSafe for RtpRewriteBridgeOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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