oRTP
0.24.0
|
Definition of payload types. More...
#include <ortp/port.h>
Go to the source code of this file.
Data Structures | |
struct | _PayloadTypeAvpfParams |
struct | _PayloadType |
Typedefs | |
typedef struct _PayloadType | PayloadType |
typedef struct _PayloadTypeAvpfParams | PayloadTypeAvpfParams |
Functions | |
ORTP_PUBLIC PayloadType * | payload_type_new (void) |
ORTP_PUBLIC PayloadType * | payload_type_clone (const PayloadType *payload) |
ORTP_PUBLIC char * | payload_type_get_rtpmap (PayloadType *pt) |
ORTP_PUBLIC void | payload_type_destroy (PayloadType *pt) |
ORTP_PUBLIC void | payload_type_set_recv_fmtp (PayloadType *pt, const char *fmtp) |
ORTP_PUBLIC void | payload_type_set_send_fmtp (PayloadType *pt, const char *fmtp) |
ORTP_PUBLIC void | payload_type_append_recv_fmtp (PayloadType *pt, const char *fmtp) |
ORTP_PUBLIC void | payload_type_append_send_fmtp (PayloadType *pt, const char *fmtp) |
ORTP_PUBLIC void | payload_type_set_avpf_params (PayloadType *pt, PayloadTypeAvpfParams params) |
ORTP_PUBLIC bool_t | fmtp_get_value (const char *fmtp, const char *param_name, char *result, size_t result_len) |
Variables | |
ORTP_VAR_PUBLIC PayloadType | payload_type_pcmu8000 |
ORTP_VAR_PUBLIC PayloadType | payload_type_pcma8000 |
ORTP_VAR_PUBLIC PayloadType | payload_type_pcm8000 |
ORTP_VAR_PUBLIC PayloadType | payload_type_l16_mono |
ORTP_VAR_PUBLIC PayloadType | payload_type_l16_stereo |
ORTP_VAR_PUBLIC PayloadType | payload_type_lpc1016 |
ORTP_VAR_PUBLIC PayloadType | payload_type_g729 |
ORTP_VAR_PUBLIC PayloadType | payload_type_g7231 |
ORTP_VAR_PUBLIC PayloadType | payload_type_g7221 |
ORTP_VAR_PUBLIC PayloadType | payload_type_cn |
ORTP_VAR_PUBLIC PayloadType | payload_type_g726_40 |
ORTP_VAR_PUBLIC PayloadType | payload_type_g726_32 |
ORTP_VAR_PUBLIC PayloadType | payload_type_g726_24 |
ORTP_VAR_PUBLIC PayloadType | payload_type_g726_16 |
ORTP_VAR_PUBLIC PayloadType | payload_type_aal2_g726_40 |
ORTP_VAR_PUBLIC PayloadType | payload_type_aal2_g726_32 |
ORTP_VAR_PUBLIC PayloadType | payload_type_aal2_g726_24 |
ORTP_VAR_PUBLIC PayloadType | payload_type_aal2_g726_16 |
ORTP_VAR_PUBLIC PayloadType | payload_type_gsm |
ORTP_VAR_PUBLIC PayloadType | payload_type_lpc |
ORTP_VAR_PUBLIC PayloadType | payload_type_lpc1015 |
ORTP_VAR_PUBLIC PayloadType | payload_type_speex_nb |
ORTP_VAR_PUBLIC PayloadType | payload_type_speex_wb |
ORTP_VAR_PUBLIC PayloadType | payload_type_speex_uwb |
ORTP_VAR_PUBLIC PayloadType | payload_type_ilbc |
ORTP_VAR_PUBLIC PayloadType | payload_type_amr |
ORTP_VAR_PUBLIC PayloadType | payload_type_amrwb |
ORTP_VAR_PUBLIC PayloadType | payload_type_truespeech |
ORTP_VAR_PUBLIC PayloadType | payload_type_evrc0 |
ORTP_VAR_PUBLIC PayloadType | payload_type_evrcb0 |
ORTP_VAR_PUBLIC PayloadType | payload_type_silk_nb |
ORTP_VAR_PUBLIC PayloadType | payload_type_silk_mb |
ORTP_VAR_PUBLIC PayloadType | payload_type_silk_wb |
ORTP_VAR_PUBLIC PayloadType | payload_type_silk_swb |
ORTP_VAR_PUBLIC PayloadType | payload_type_aaceld_16k |
ORTP_VAR_PUBLIC PayloadType | payload_type_aaceld_22k |
ORTP_VAR_PUBLIC PayloadType | payload_type_aaceld_32k |
ORTP_VAR_PUBLIC PayloadType | payload_type_aaceld_44k |
ORTP_VAR_PUBLIC PayloadType | payload_type_aaceld_48k |
ORTP_VAR_PUBLIC PayloadType | payload_type_opus |
ORTP_VAR_PUBLIC PayloadType | payload_type_isac |
ORTP_VAR_PUBLIC PayloadType | payload_type_gsm_efr |
ORTP_VAR_PUBLIC PayloadType | payload_type_mpv |
ORTP_VAR_PUBLIC PayloadType | payload_type_h261 |
ORTP_VAR_PUBLIC PayloadType | payload_type_h263 |
ORTP_VAR_PUBLIC PayloadType | payload_type_h263_1998 |
ORTP_VAR_PUBLIC PayloadType | payload_type_h263_2000 |
ORTP_VAR_PUBLIC PayloadType | payload_type_mp4v |
ORTP_VAR_PUBLIC PayloadType | payload_type_theora |
ORTP_VAR_PUBLIC PayloadType | payload_type_h264 |
ORTP_VAR_PUBLIC PayloadType | payload_type_x_snow |
ORTP_VAR_PUBLIC PayloadType | payload_type_jpeg |
ORTP_VAR_PUBLIC PayloadType | payload_type_vp8 |
ORTP_VAR_PUBLIC PayloadType | payload_type_g722 |
ORTP_VAR_PUBLIC PayloadType | payload_type_t140 |
ORTP_VAR_PUBLIC PayloadType | payload_type_t140_red |
ORTP_VAR_PUBLIC PayloadType | payload_type_x_udpftp |
ORTP_VAR_PUBLIC PayloadType | payload_type_telephone_event |
Definition of payload types.
ORTP_PUBLIC bool_t fmtp_get_value | ( | const char * | fmtp, |
const char * | param_name, | ||
char * | result, | ||
size_t | result_len | ||
) |
Parses a fmtp string such as "profile=0;level=10", finds the value matching parameter param_name, and writes it into result. If a parameter name is found multiple times, only the value of the last occurence is returned. Despite fmtp strings are not used anywhere within oRTP, this function can be useful for people using RTP streams described from SDP.
fmtp | the fmtp line (format parameters) |
param_name | the parameter to search for |
result | the value given for the parameter (if found) |
result_len | the size allocated to hold the result string |
ORTP_PUBLIC void payload_type_destroy | ( | PayloadType * | pt | ) |
Frees a PayloadType.
References _PayloadType::mime_type.
ORTP_PUBLIC void payload_type_set_recv_fmtp | ( | PayloadType * | pt, |
const char * | fmtp | ||
) |
Sets a recv parameters (fmtp) for the PayloadType. This method is provided for applications using RTP with SDP, but actually the ftmp information is not used for RTP processing.
ORTP_PUBLIC void payload_type_set_send_fmtp | ( | PayloadType * | pt, |
const char * | fmtp | ||
) |
Sets a send parameters (fmtp) for the PayloadType. This method is provided for applications using RTP with SDP, but actually the ftmp information is not used for RTP processing.