Struct medea_jason::peer::TracksRequest[][src]

pub struct TracksRequest { /* fields omitted */ }

Representation of MediaStreamConstraints object.

It’s used for invoking getUserMedia() to specify what kinds of tracks should be included into returned MediaStream, and, optionally, to establish constraints for those track’s settings.

Implementations

impl TracksRequest[src]

pub fn add_track_request<T: Into<TrackConstraints>>(
    &mut self,
    track_id: TrackId,
    caps: T
)
[src]

Adds track request to this TracksRequest.

Trait Implementations

impl Debug for TracksRequest[src]

impl Default for TracksRequest[src]

impl TryFrom<TracksRequest> for SimpleTracksRequest[src]

type Error = TracksRequestError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<E> WrapTraced<E> for E[src]