[][src]Enum janus_plugin::sdp::OfferAnswerParameters

#[repr(i32)]pub enum OfferAnswerParameters {
    Done,
    Audio,
    Video,
    Data,
    AudioDirection,
    VideoDirection,
    AudioCodec,
    VideoCodec,
    AudioPayloadType,
    VideoPayloadType,
    AudioDtmf,
    VideoRtcpfbDefaults,
    VideoH264Fmtp,
}

Parameters controlling SDP offer answering behavior. Used as keys in the parameter list for janus_sdp_generate_answer. See sdp-utils.h in the Janus source for more details.

Variants

Done

Used to signal the end of the offer-answer parameter list.

Audio

Whether to accept or reject audio.

Video

Whether to accept or reject video.

Data

Whether to accept or reject data.

AudioDirection

The MediaDirection for the audio stream.

VideoDirection

The MediaDirection for the video stream.

AudioCodec

The AudioCodec for the audio stream.

VideoCodec

The VideoCodec for the video stream.

AudioPayloadType

The payload type for the audio stream.

VideoPayloadType

The payload type for the video stream.

AudioDtmf

Whether to negotiate telephone events.

VideoRtcpfbDefaults

Whether to add RTCP-FB attributes.

VideoH264Fmtp

Whether to add attributes for H.264 video.

Trait Implementations

impl Clone for OfferAnswerParameters[src]

impl Copy for OfferAnswerParameters[src]

impl Debug for OfferAnswerParameters[src]

impl Eq for OfferAnswerParameters[src]

impl Hash for OfferAnswerParameters[src]

impl PartialEq<OfferAnswerParameters> for OfferAnswerParameters[src]

impl StructuralEq for OfferAnswerParameters[src]

impl StructuralPartialEq for OfferAnswerParameters[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.