Skip to main content

switch_core_media_params_s

Struct switch_core_media_params_s 

Source
#[repr(C)]
pub struct switch_core_media_params_s {
Show 50 fields pub rtp_timeout_sec: u32, pub rtp_hold_timeout_sec: u32, pub dtmf_delay: u32, pub codec_flags: u32, pub ndlb: switch_core_media_NDLB_t, pub auto_rtp_bugs: switch_rtp_bug_flag_t, pub inbound_codec_string: *mut c_char, pub outbound_codec_string: *mut c_char, pub timer_name: *mut c_char, pub remote_sdp_str: *mut c_char, pub early_sdp: *mut c_char, pub local_sdp_str: *mut c_char, pub last_sdp_str: *mut c_char, pub last_sdp_response: *mut c_char, pub prev_sdp_str: *mut c_char, pub prev_sdp_response: *mut c_char, pub stun_ip: *mut c_char, pub stun_port: switch_port_t, pub stun_flags: u32, pub jb_msec: *mut c_char, pub vflags: switch_core_media_vflag_t, pub manual_rtp_bugs: switch_rtp_bug_flag_t, pub manual_video_rtp_bugs: switch_rtp_bug_flag_t, pub manual_text_rtp_bugs: switch_rtp_bug_flag_t, pub rtcp_audio_interval_msec: *mut c_char, pub rtcp_video_interval_msec: *mut c_char, pub rtcp_text_interval_msec: *mut c_char, pub extrtpip: *mut c_char, pub rtpip: *mut c_char, pub rtpip4: *mut c_char, pub rtpip6: *mut c_char, pub remote_ip: *mut c_char, pub remote_port: c_int, pub extsipip: *mut c_char, pub local_network: *mut c_char, pub sipip: *mut c_char, pub sdp_username: *mut c_char, pub te: switch_payload_t, pub recv_te: switch_payload_t, pub te_rate: c_ulong, pub cng_rate: c_ulong, pub adv_sdp_audio_ip: *mut c_char, pub num_codecs: c_int, pub hold_laps: c_int, pub dtmf_type: switch_core_media_dtmf_t, pub cng_pt: switch_payload_t, pub external_video_source: switch_bool_t, pub video_key_freq: u32, pub video_key_first: u32, pub video_write_thread: *mut switch_thread_t,
}

Fields§

§rtp_timeout_sec: u32§rtp_hold_timeout_sec: u32§dtmf_delay: u32§codec_flags: u32§ndlb: switch_core_media_NDLB_t§auto_rtp_bugs: switch_rtp_bug_flag_t§inbound_codec_string: *mut c_char§outbound_codec_string: *mut c_char§timer_name: *mut c_char§remote_sdp_str: *mut c_char§early_sdp: *mut c_char§local_sdp_str: *mut c_char§last_sdp_str: *mut c_char§last_sdp_response: *mut c_char§prev_sdp_str: *mut c_char§prev_sdp_response: *mut c_char§stun_ip: *mut c_char§stun_port: switch_port_t§stun_flags: u32§jb_msec: *mut c_char§vflags: switch_core_media_vflag_t§manual_rtp_bugs: switch_rtp_bug_flag_t§manual_video_rtp_bugs: switch_rtp_bug_flag_t§manual_text_rtp_bugs: switch_rtp_bug_flag_t§rtcp_audio_interval_msec: *mut c_char§rtcp_video_interval_msec: *mut c_char§rtcp_text_interval_msec: *mut c_char§extrtpip: *mut c_char§rtpip: *mut c_char§rtpip4: *mut c_char§rtpip6: *mut c_char§remote_ip: *mut c_char§remote_port: c_int§extsipip: *mut c_char§local_network: *mut c_char§sipip: *mut c_char§sdp_username: *mut c_char§te: switch_payload_t§recv_te: switch_payload_t§te_rate: c_ulong§cng_rate: c_ulong§adv_sdp_audio_ip: *mut c_char§num_codecs: c_int§hold_laps: c_int§dtmf_type: switch_core_media_dtmf_t§cng_pt: switch_payload_t§external_video_source: switch_bool_t§video_key_freq: u32§video_key_first: u32§video_write_thread: *mut switch_thread_t

Trait Implementations§

Source§

impl Clone for switch_core_media_params_s

Source§

fn clone(&self) -> switch_core_media_params_s

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for switch_core_media_params_s

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for switch_core_media_params_s

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for switch_core_media_params_s

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.