Asterisk - The Open Source Telephony Project
21.4.1
|
Structure that represents the optional ICE support within an RTP engine. More...
#include <rtp_engine.h>
Data Fields | |
void(* | add_remote_candidate )(struct ast_rtp_instance *instance, const struct ast_rtp_engine_ice_candidate *candidate) |
void(* | change_components )(struct ast_rtp_instance *instance, int num_components) |
struct ao2_container *(* | get_local_candidates )(struct ast_rtp_instance *instance) |
const char *(* | get_password )(struct ast_rtp_instance *instance) |
const char *(* | get_ufrag )(struct ast_rtp_instance *instance) |
void(* | ice_lite )(struct ast_rtp_instance *instance) |
void(* | set_authentication )(struct ast_rtp_instance *instance, const char *ufrag, const char *password) |
void(* | set_role )(struct ast_rtp_instance *instance, enum ast_rtp_ice_role role) |
void(* | start )(struct ast_rtp_instance *instance) |
void(* | stop )(struct ast_rtp_instance *instance) |
void(* | turn_request )(struct ast_rtp_instance *instance, enum ast_rtp_ice_component_type component, enum ast_transport transport, const char *server, unsigned int port, const char *username, const char *password) |
Structure that represents the optional ICE support within an RTP engine.
Definition at line 536 of file rtp_engine.h.
void(* add_remote_candidate) (struct ast_rtp_instance *instance, const struct ast_rtp_engine_ice_candidate *candidate) |
Callback for adding a remote candidate
Definition at line 540 of file rtp_engine.h.
Referenced by jingle_interpret_ice_udp_transport(), and process_ice_attributes().
void(* change_components) (struct ast_rtp_instance *instance, int num_components) |
Callback to alter the number of ICE components on a session
Definition at line 560 of file rtp_engine.h.
struct ao2_container*(* get_local_candidates) (struct ast_rtp_instance *instance) |
Callback for getting local candidates
Definition at line 550 of file rtp_engine.h.
Referenced by add_ice_to_stream(), jingle_add_google_candidates_to_transport(), and jingle_add_ice_udp_candidates_to_transport().
const char*(* get_password) (struct ast_rtp_instance *instance) |
Callback for getting local password
Definition at line 548 of file rtp_engine.h.
Referenced by add_ice_to_stream(), jingle_add_google_candidates_to_transport(), and jingle_add_ice_udp_candidates_to_transport().
const char*(* get_ufrag) (struct ast_rtp_instance *instance) |
Callback for getting local username
Definition at line 546 of file rtp_engine.h.
Referenced by add_ice_to_stream(), jingle_add_google_candidates_to_transport(), jingle_add_ice_udp_candidates_to_transport(), and jingle_interpret_google_transport().
void(* ice_lite) (struct ast_rtp_instance *instance) |
Callback for telling the ICE support that it is talking to an ice-lite implementation
Definition at line 552 of file rtp_engine.h.
Referenced by jingle_request(), and process_ice_attributes().
void(* set_authentication) (struct ast_rtp_instance *instance, const char *ufrag, const char *password) |
Callback for setting received authentication information
Definition at line 538 of file rtp_engine.h.
Referenced by jingle_interpret_ice_udp_transport(), and process_ice_attributes().
void(* set_role) (struct ast_rtp_instance *instance, enum ast_rtp_ice_role role) |
Callback for changing our role in negotiation
Definition at line 554 of file rtp_engine.h.
Referenced by process_ice_attributes().
void(* start) (struct ast_rtp_instance *instance) |
Callback for starting ICE negotiation
Definition at line 542 of file rtp_engine.h.
Referenced by jingle_interpret_ice_udp_transport(), and process_ice_attributes().
void(* stop) (struct ast_rtp_instance *instance) |
Callback for stopping ICE support
Definition at line 544 of file rtp_engine.h.
Referenced by add_ice_to_stream(), create_rtp(), jingle_enable_video(), jingle_interpret_google_transport(), jingle_new(), and jingle_outgoing_hook().
void(* turn_request) (struct ast_rtp_instance *instance, enum ast_rtp_ice_component_type component, enum ast_transport transport, const char *server, unsigned int port, const char *username, const char *password) |
Callback for requesting a TURN session
Definition at line 556 of file rtp_engine.h.