Struct str0m::media::rtp::ExtensionValues
source · pub struct ExtensionValues {
pub audio_level: Option<i8>,
pub voice_activity: Option<bool>,
pub video_orientation: Option<VideoOrientation>,
/* private fields */
}
Expand description
Values in an RTP header extension.
This is metadata that is available also without decrypting the SRTP packets.
Fields§
§audio_level: Option<i8>
Audio level is measured in negative decibel. 0 is max and a “normal” value might be -30.
voice_activity: Option<bool>
Indication that there is sound from a voice.
video_orientation: Option<VideoOrientation>
Tell a receiver what rotation a video need to replay correctly.
Trait Implementations§
source§impl Clone for ExtensionValues
impl Clone for ExtensionValues
source§fn clone(&self) -> ExtensionValues
fn clone(&self) -> ExtensionValues
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExtensionValues
impl Debug for ExtensionValues
source§impl Default for ExtensionValues
impl Default for ExtensionValues
source§fn default() -> ExtensionValues
fn default() -> ExtensionValues
Returns the “default value” for a type. Read more