Enum gstreamer_rtp::RTPPayload
source · #[non_exhaustive]pub enum RTPPayload {
Show 26 variants
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,
}
Expand description
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)§
This enum is marked as non-exhaustive
Pcmu
ITU-T G.711. mu-law audio (RFC 3551)
_1016
RFC 3551 says reserved
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§
source§impl Clone for RTPPayload
impl Clone for RTPPayload
source§fn clone(&self) -> RTPPayload
fn clone(&self) -> RTPPayload
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RTPPayload
impl Debug for RTPPayload
source§impl From<RTPPayload> for Value
impl From<RTPPayload> for Value
source§fn from(v: RTPPayload) -> Self
fn from(v: RTPPayload) -> Self
source§impl<'a> FromValue<'a> for RTPPayload
impl<'a> FromValue<'a> for RTPPayload
§type Checker = GenericValueTypeChecker<RTPPayload>
type Checker = GenericValueTypeChecker<RTPPayload>
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moresource§impl HasParamSpec for RTPPayload
impl HasParamSpec for RTPPayload
type ParamSpec = ParamSpecEnum
§type SetValue = RTPPayload
type SetValue = RTPPayload
type BuilderFn = fn(_: &str, _: RTPPayload) -> ParamSpecEnumBuilder<'_, RTPPayload>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for RTPPayload
impl Hash for RTPPayload
source§impl Ord for RTPPayload
impl Ord for RTPPayload
source§fn cmp(&self, other: &RTPPayload) -> Ordering
fn cmp(&self, other: &RTPPayload) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for RTPPayload
impl PartialEq for RTPPayload
source§impl PartialOrd for RTPPayload
impl PartialOrd for RTPPayload
source§impl StaticType for RTPPayload
impl StaticType for RTPPayload
source§fn static_type() -> Type
fn static_type() -> Type
Self
.source§impl ToValue for RTPPayload
impl ToValue for RTPPayload
source§impl ValueType for RTPPayload
impl ValueType for RTPPayload
§type Type = RTPPayload
type Type = RTPPayload
Type
from. Read moreimpl Copy for RTPPayload
impl Eq for RTPPayload
impl StructuralPartialEq for RTPPayload
Auto Trait Implementations§
impl Freeze for RTPPayload
impl RefUnwindSafe for RTPPayload
impl Send for RTPPayload
impl Sync for RTPPayload
impl Unpin for RTPPayload
impl UnwindSafe for RTPPayload
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
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>
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>
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 moresource§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.