Definition of supported media formats (codecs) More...
#include <format.h>

Data Fields | |
| int | cur_ms |
| int | custom_entry |
| int | def_ms |
| char | desc [128] |
| unsigned int | flags |
| struct ast_format | format |
| int | fr_len |
| int | inc_ms |
| int | max_ms |
| int | min_ms |
| char | name [64] |
| unsigned int | samplespersecond |
| int cur_ms |
Current value
Definition at line 169 of file format.h.
Referenced by add_codec_to_sdp(), ast_codec_pref_getsize(), ast_rtp_write(), format_list_add_static(), handle_open_receive_channel_ack_message(), skinny_set_rtp_peer(), transmit_connect(), and transmit_startmediatransmission().
| int custom_entry |
Definition at line 170 of file format.h.
Referenced by format_list_add_static(), and list_all_custom().
| int def_ms |
Default value
Definition at line 167 of file format.h.
Referenced by ast_codec_pref_getsize(), ast_codec_pref_setsize(), custom_celt_format(), custom_silk_format(), and format_list_add_static().
| char desc[128] |
Description
Definition at line 162 of file format.h.
Referenced by ast_codec2str(), custom_celt_format(), custom_silk_format(), format_list_add_static(), show_codec_n(), and show_codecs().
| unsigned int flags |
Smoother flags
Definition at line 168 of file format.h.
Referenced by ast_rtp_write(), and format_list_add_static().
| struct ast_format format |
The unique format.
Definition at line 159 of file format.h.
Referenced by ast_codec_pref_convert(), ast_codec_pref_remove(), custom_celt_format(), custom_silk_format(), format_list_add_static(), handle_open_receive_channel_ack_message(), handle_show_translation_path(), list_cmp_cb(), show_codecs(), skinny_set_rtp_peer(), transmit_connect(), and transmit_startmediatransmission().
| int fr_len |
Single frame length in bytes
Definition at line 163 of file format.h.
Referenced by ast_data_add_codec(), ast_data_add_codecs(), ast_rtp_write(), custom_celt_format(), custom_silk_format(), and format_list_add_static().
| int inc_ms |
Increment
Definition at line 166 of file format.h.
Referenced by ast_codec_pref_getsize(), ast_codec_pref_setsize(), ast_rtp_write(), custom_celt_format(), custom_silk_format(), and format_list_add_static().
| int max_ms |
Max value
Definition at line 165 of file format.h.
Referenced by ast_codec_pref_getsize(), ast_codec_pref_setsize(), custom_celt_format(), custom_silk_format(), and format_list_add_static().
| int min_ms |
Min value
Definition at line 164 of file format.h.
Referenced by ast_codec_pref_getsize(), ast_codec_pref_setsize(), custom_celt_format(), custom_silk_format(), and format_list_add_static().
| char name[64] |
short name
Definition at line 160 of file format.h.
Referenced by ast_getformatname(), custom_celt_format(), custom_silk_format(), format_list_add_static(), handle_show_translation_path(), load_format_config(), and show_codecs().
| unsigned int samplespersecond |
Number of samples per second (8000/16000)
Definition at line 161 of file format.h.
Referenced by ast_data_add_codec(), ast_data_add_codecs(), custom_celt_format(), custom_silk_format(), format_list_add_static(), and load_format_config().