pub struct WhipResource { /* private fields */ }Available on crate features
ingest and webrtc only.Expand description
An accepted WHIP connection: pumps decrypted RTP onto the bus until the peer or transport closes.
Implementations§
Source§impl WhipResource
impl WhipResource
Sourcepub async fn pump(self) -> Result<()>
pub async fn pump(self) -> Result<()>
Drive the media plane until the transport yields None (peer gone).
A simulcast publisher (multiple RID layers negotiated) is demultiplexed per layer onto distinct streams; otherwise a single stream is routed by payload type — H.264 depacketized into access units, Opus audio published frame-for-packet.
Auto Trait Implementations§
impl !RefUnwindSafe for WhipResource
impl !UnwindSafe for WhipResource
impl Freeze for WhipResource
impl Send for WhipResource
impl Sync for WhipResource
impl Unpin for WhipResource
impl UnsafeUnpin for WhipResource
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