mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Add support for ICE/STUN/TURN in res_rtp_asterisk and chan_sip.
Review: https://reviewboard.asterisk.org/r/1891/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1912,6 +1912,11 @@ int ast_rtp_instance_sendcng(struct ast_rtp_instance *instance, int level)
|
||||
return -1;
|
||||
}
|
||||
|
||||
struct ast_rtp_engine_ice *ast_rtp_instance_get_ice(struct ast_rtp_instance *instance)
|
||||
{
|
||||
return instance->engine->ice;
|
||||
}
|
||||
|
||||
static void set_next_mime_type(const struct ast_format *format, int rtp_code, char *type, char *subtype, unsigned int sample_rate)
|
||||
{
|
||||
int x = mime_types_len;
|
||||
|
Reference in New Issue
Block a user