pub struct RtpPayloadTap {
pub route_id: PayloadRouteId,
pub payload_type: u8,
}Expand description
Filter for copying RTP packets from a recovered route.
This is useful for mixed media routes. For example, OpenIPC can carry Opus audio as RTP payload type 98 on the same WFB route as video. A tap lets an app copy only those audio RTP packets while the built-in video depacketizer continues to consume the same route for H.264/H.265.
Fields§
§route_id: PayloadRouteIdApplication route id whose recovered payloads should be inspected.
payload_type: u8RTP payload type to copy.
Trait Implementations§
Source§impl Clone for RtpPayloadTap
impl Clone for RtpPayloadTap
Source§fn clone(&self) -> RtpPayloadTap
fn clone(&self) -> RtpPayloadTap
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 RtpPayloadTap
Source§impl Debug for RtpPayloadTap
impl Debug for RtpPayloadTap
impl Eq for RtpPayloadTap
Source§impl PartialEq for RtpPayloadTap
impl PartialEq for RtpPayloadTap
Source§fn eq(&self, other: &RtpPayloadTap) -> bool
fn eq(&self, other: &RtpPayloadTap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RtpPayloadTap
Auto Trait Implementations§
impl Freeze for RtpPayloadTap
impl RefUnwindSafe for RtpPayloadTap
impl Send for RtpPayloadTap
impl Sync for RtpPayloadTap
impl Unpin for RtpPayloadTap
impl UnsafeUnpin for RtpPayloadTap
impl UnwindSafe for RtpPayloadTap
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