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

#[repr(i32)]pub enum OfferAnswerParameters {
    Done,
    Audio,
    Video,
    Data,
    AudioDirection,
    VideoDirection,
    AudioCodec,
    VideoCodec,
    Vp9Profile,
    H264Profile,
    AudioPayloadType,
    VideoPayloadType,
    AudioDtmf,
    AudioFmtp,
    VideoFmtp,
    VideoRtcpfbDefaults,
    DataLegacy,
    AudioExtension,
    VideoExtension,
    AcceptExtmap,
}

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.

Vp9Profile

Use this profile for VP9

H264Profile

Use this profile for H.264

AudioPayloadType

The payload type for the audio stream.

VideoPayloadType

The payload type for the video stream.

AudioDtmf

Whether to negotiate telephone events.

AudioFmtp

Add a custom fmtp string for audio

VideoFmtp

Add a custom fmtp string for video @note This property is ignored if Vp9Profile or H264Profile is used on a compliant codec.

VideoRtcpfbDefaults

Whether to add RTCP-FB attributes.

DataLegacy
AudioExtension
VideoExtension
AcceptExtmap

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.