mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
RFC sdp: Initial SDP creation
* Added additional fields to ast_sdp_options. * Re-organized ast_sdp. * Updated field names to correspond to RFC4566 terminology. * Created allocs/frees for SDP children. * Created getters/setters for SDP children where appropriate. * Added ast_sdp_create_from_state. * Refactored res_sdp_translator_pjmedia for changes. Change-Id: Iefbd877af7f5a4d3c74deead1bff8802661b0d48
This commit is contained in:
@@ -1493,7 +1493,8 @@ int ast_rtp_codecs_find_payload_code(struct ast_rtp_codecs *codecs, int payload)
|
||||
return res;
|
||||
}
|
||||
|
||||
const char *ast_rtp_lookup_mime_subtype2(const int asterisk_format, struct ast_format *format, int code, enum ast_rtp_options options)
|
||||
const char *ast_rtp_lookup_mime_subtype2(const int asterisk_format,
|
||||
const struct ast_format *format, int code, enum ast_rtp_options options)
|
||||
{
|
||||
int i;
|
||||
const char *res = "";
|
||||
@@ -1522,7 +1523,8 @@ const char *ast_rtp_lookup_mime_subtype2(const int asterisk_format, struct ast_f
|
||||
return res;
|
||||
}
|
||||
|
||||
unsigned int ast_rtp_lookup_sample_rate2(int asterisk_format, struct ast_format *format, int code)
|
||||
unsigned int ast_rtp_lookup_sample_rate2(int asterisk_format,
|
||||
const struct ast_format *format, int code)
|
||||
{
|
||||
unsigned int i;
|
||||
unsigned int res = 0;
|
||||
|
Reference in New Issue
Block a user