pub struct SessionUploadSlot {
pub mid: String,
pub kind: MediaKind,
pub codecs: Vec<String>,
pub simulcast_encodings: Vec<SessionUploadEncoding>,
}Expand description
one offered upload media section
mid binds this slot to the SDP media section
kind, codecs and simulcast_encodings are compatibility metadata for
the protocol layer
Fields§
§mid: StringSDP media section id for this upload slot
kind: MediaKindaudio or video kind accepted on this media section
codecs: Vec<String>codec names accepted for this upload slot
simulcast_encodings: Vec<SessionUploadEncoding>simulcast layers the client may announce for this upload slot
Trait Implementations§
Source§impl Clone for SessionUploadSlot
impl Clone for SessionUploadSlot
Source§fn clone(&self) -> SessionUploadSlot
fn clone(&self) -> SessionUploadSlot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionUploadSlot
impl Debug for SessionUploadSlot
Source§impl PartialEq for SessionUploadSlot
impl PartialEq for SessionUploadSlot
impl Eq for SessionUploadSlot
impl StructuralPartialEq for SessionUploadSlot
Auto Trait Implementations§
impl Freeze for SessionUploadSlot
impl RefUnwindSafe for SessionUploadSlot
impl Send for SessionUploadSlot
impl Sync for SessionUploadSlot
impl Unpin for SessionUploadSlot
impl UnsafeUnpin for SessionUploadSlot
impl UnwindSafe for SessionUploadSlot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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