#include <switch_frame.h>
Collaboration diagram for switch_frame:
Data Fields | |
| switch_codec_t * | codec |
| const char * | source |
| void * | packet |
| uint32_t | packetlen |
| void * | extra_data |
| void * | data |
| uint32_t | datalen |
| uint32_t | buflen |
| uint32_t | samples |
| uint32_t | rate |
| switch_payload_t | payload |
| switch_size_t | timestamp |
| uint16_t | seq |
| uint32_t | ssrc |
| switch_bool_t | m |
| switch_frame_flag_t | flags |
Definition at line 43 of file switch_frame.h.
| uint32_t switch_frame::buflen |
the entire size of the buffer
Definition at line 59 of file switch_frame.h.
Referenced by audio_bridge_thread(), eavesdrop_callback(), record_callback(), speech_callback(), switch_ivr_collect_digits_count(), switch_ivr_delay_echo(), switch_ivr_eavesdrop_session(), switch_ivr_gentones(), switch_ivr_originate(), switch_ivr_park(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_sleep(), switch_ivr_speak_text_handle(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), and unicast_thread_run().
a pointer to the codec information
Definition at line 45 of file switch_frame.h.
Referenced by audio_bridge_thread(), setup_ringback(), switch_core_session_write_frame(), switch_ivr_collect_digits_count(), switch_ivr_delay_echo(), switch_ivr_eavesdrop_session(), switch_ivr_gentones(), switch_ivr_park(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_sleep(), switch_ivr_speak_text(), switch_ivr_speak_text_handle(), switch_ivr_wait_for_answer(), and switch_ivr_wait_for_silence().
| void* switch_frame::data |
the frame data
Definition at line 55 of file switch_frame.h.
Referenced by audio_bridge_thread(), early_thread_run(), eavesdrop_callback(), inband_dtmf_callback(), inband_dtmf_generate_callback(), preprocess_callback(), read_displace_callback(), record_callback(), session_audio_callback(), setup_ringback(), speech_callback(), switch_core_session_write_frame(), switch_ivr_collect_digits_count(), switch_ivr_delay_echo(), switch_ivr_eavesdrop_session(), switch_ivr_gentones(), switch_ivr_originate(), switch_ivr_park(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_sleep(), switch_ivr_sound_test(), switch_ivr_speak_text_handle(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), unicast_thread_run(), and write_displace_callback().
| uint32_t switch_frame::datalen |
the size of the buffer that is in use
Definition at line 57 of file switch_frame.h.
Referenced by audio_bridge_thread(), early_thread_run(), eavesdrop_callback(), inband_dtmf_generate_callback(), preprocess_callback(), read_displace_callback(), record_callback(), session_audio_callback(), setup_ringback(), speech_callback(), switch_core_session_write_frame(), switch_ivr_collect_digits_count(), switch_ivr_delay_echo(), switch_ivr_eavesdrop_session(), switch_ivr_gentones(), switch_ivr_park(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_sleep(), switch_ivr_speak_text_handle(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), unicast_thread_run(), and write_displace_callback().
| void* switch_frame::extra_data |
the extra frame data
Definition at line 53 of file switch_frame.h.
frame flags
Definition at line 72 of file switch_frame.h.
| void* switch_frame::packet |
the raw packet
Definition at line 49 of file switch_frame.h.
| uint32_t switch_frame::packetlen |
the size of the raw packet when applicable
Definition at line 51 of file switch_frame.h.
the payload of the frame
Definition at line 65 of file switch_frame.h.
Referenced by switch_core_session_write_frame(), and switch_ivr_delay_echo().
| uint32_t switch_frame::rate |
the rate of the frame
Definition at line 63 of file switch_frame.h.
Referenced by switch_core_session_write_frame(), switch_ivr_eavesdrop_session(), switch_ivr_play_file(), and switch_ivr_speak_text_handle().
| uint32_t switch_frame::samples |
the number of audio samples present (audio only)
Definition at line 61 of file switch_frame.h.
Referenced by audio_bridge_thread(), eavesdrop_callback(), inband_dtmf_callback(), read_displace_callback(), setup_ringback(), switch_core_session_write_frame(), switch_ivr_collect_digits_count(), switch_ivr_eavesdrop_session(), switch_ivr_gentones(), switch_ivr_park(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_sleep(), switch_ivr_sound_test(), switch_ivr_speak_text_handle(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), unicast_thread_run(), and write_displace_callback().
| uint16_t switch_frame::seq |
| const char* switch_frame::source |
the originating source of the frame
Definition at line 47 of file switch_frame.h.
| uint32_t switch_frame::ssrc |
the timestamp of the frame
Definition at line 67 of file switch_frame.h.
Referenced by switch_core_session_write_frame(), switch_ivr_play_file(), and switch_ivr_speak_text_handle().
1.4.7