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. Applies to the FIRST source
stream only — later source-stream switches continue the outgoing
timeline right after the previous stream’s tail (bridge-owned, never
backwards), so a shared destination SSRC stays continuous across
ringback → relay, IVR → relay and similar source churn.
Trait Implementations§
Source§impl Clone for RtpRewriteBridgeOptions
impl Clone for RtpRewriteBridgeOptions
impl Copy for RtpRewriteBridgeOptions
Source§impl Debug for RtpRewriteBridgeOptions
impl Debug for RtpRewriteBridgeOptions
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