[][src]Enum gstreamer_rtp::RTPPayload

#[non_exhaustive]pub enum RTPPayload {
    Pcmu,
    _1016,
    G721,
    Gsm,
    G723,
    Dvi48000,
    Dvi416000,
    Lpc,
    Pcma,
    G722,
    L16Stereo,
    L16Mono,
    Qcelp,
    Cn,
    Mpa,
    G728,
    Dvi411025,
    Dvi422050,
    G729,
    Cellb,
    Jpeg,
    Nv,
    H261,
    Mpv,
    Mp2t,
    H263,
    // some variants omitted
}

Standard predefined fixed payload types.

The official list is at: http://www.iana.org/assignments/rtp-parameters

Audio: reserved: 19 unassigned: 20-23,

Video: unassigned: 24, 27, 29, 30, 35-71, 77-95 Reserved for RTCP conflict avoidance: 72-76

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Pcmu

ITU-T G.711. mu-law audio (RFC 3551)

_1016
G721

RFC 3551 says reserved

Gsm

GSM audio

G723

ITU G.723.1 audio

Dvi48000

IMA ADPCM wave type (RFC 3551)

Dvi416000

IMA ADPCM wave type (RFC 3551)

Lpc

experimental linear predictive encoding

Pcma

ITU-T G.711 A-law audio (RFC 3551)

G722

ITU-T G.722 (RFC 3551)

L16Stereo

stereo PCM

L16Mono

mono PCM

Qcelp

EIA & TIA standard IS-733

Cn

Comfort Noise (RFC 3389)

Mpa

Audio MPEG 1-3.

G728

ITU-T G.728 Speech coder (RFC 3551)

Dvi411025

IMA ADPCM wave type (RFC 3551)

Dvi422050

IMA ADPCM wave type (RFC 3551)

G729

ITU-T G.729 Speech coder (RFC 3551)

Cellb

See RFC 2029

Jpeg

ISO Standards 10918-1 and 10918-2 (RFC 2435)

Nv

nv encoding by Ron Frederick

H261

ITU-T Recommendation H.261 (RFC 2032)

Mpv

Video MPEG 1 & 2 (RFC 2250)

Mp2t

MPEG-2 transport stream (RFC 2250)

H263

Video H263 (RFC 2190)

Trait Implementations

impl Clone for RTPPayload[src]

impl Copy for RTPPayload[src]

impl Debug for RTPPayload[src]

impl Eq for RTPPayload[src]

impl<'a> FromValue<'a> for RTPPayload[src]

impl<'a> FromValueOptional<'a> for RTPPayload[src]

impl Hash for RTPPayload[src]

impl Ord for RTPPayload[src]

impl PartialEq<RTPPayload> for RTPPayload[src]

impl PartialOrd<RTPPayload> for RTPPayload[src]

impl SetValue for RTPPayload[src]

impl StaticType for RTPPayload[src]

impl StructuralEq for RTPPayload[src]

impl StructuralPartialEq for RTPPayload[src]

Auto Trait Implementations

impl RefUnwindSafe for RTPPayload

impl Send for RTPPayload

impl Sync for RTPPayload

impl Unpin for RTPPayload

impl UnwindSafe for RTPPayload

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> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[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.