pub struct ParsedSessionAnswer {
pub(super) answer: SdpAnswer,
pub(super) rids: ParsedAnswerRids,
pub(super) repair: RepairSummary,
}Expand description
SDP answer parsed before packet-loop command delivery.
Fields§
§answer: SdpAnswer§rids: ParsedAnswerRids§repair: RepairSummaryImplementations§
Source§impl ParsedSessionAnswer
impl ParsedSessionAnswer
Sourcepub(in engine::media_transport) fn parse(
answer_sdp: &str,
) -> TransportResult<Self>
pub(in engine::media_transport) fn parse( answer_sdp: &str, ) -> TransportResult<Self>
Validates and parses a remote SDP answer.
§Errors
Returns TransportAdapterError::InvalidInput for malformed repair
topology or SDP that str0m cannot parse.
Auto Trait Implementations§
impl Freeze for ParsedSessionAnswer
impl !RefUnwindSafe for ParsedSessionAnswer
impl Send for ParsedSessionAnswer
impl Sync for ParsedSessionAnswer
impl Unpin for ParsedSessionAnswer
impl UnsafeUnpin for ParsedSessionAnswer
impl UnwindSafe for ParsedSessionAnswer
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more