#[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_tTrait Implementations§
Source§impl Clone for switch_core_media_params_s
impl Clone for switch_core_media_params_s
Source§fn clone(&self) -> switch_core_media_params_s
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for switch_core_media_params_s
impl Debug for switch_core_media_params_s
Source§impl Default for switch_core_media_params_s
impl Default for switch_core_media_params_s
impl Copy for switch_core_media_params_s
Auto Trait Implementations§
impl Freeze for switch_core_media_params_s
impl RefUnwindSafe for switch_core_media_params_s
impl !Send for switch_core_media_params_s
impl !Sync for switch_core_media_params_s
impl Unpin for switch_core_media_params_s
impl UnsafeUnpin for switch_core_media_params_s
impl UnwindSafe for switch_core_media_params_s
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
Mutably borrows from an owned value. Read more