mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 22:27:07 +00:00
res_rtp_asterisk: Fix a myriad of TURN client issues.
1. The number of file descriptors an ioqueue instance can handle is fixed, so we now spawn the required number to handle the load. 2. Our transport identifiers were exceeding the range supported by pjnath. 3. The TURN client did not set up client binding causing needless bandwidth usage. 4. The code no longer updates address information on each packet. 5. STUN traffic was getting looped back to Asterisk instead of going through the TURN server. 6. Synchronization now ensures things are completely setup or destroyed. 7. Logging now reflects the target the TURN server is sending to/receiving from on our behalf. ASTERISK-23577 #close Reported by: Jay Jideliov ASTERISK-23634 #close Reported by: Roman Skvirsky Review: https://reviewboard.asterisk.org/r/3982/ ........ Merged revisions 423150 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 423151 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@423152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -429,6 +429,10 @@ struct ast_rtp_engine_ice {
|
||||
void (*ice_lite)(struct ast_rtp_instance *instance);
|
||||
/*! Callback for changing our role in negotiation */
|
||||
void (*set_role)(struct ast_rtp_instance *instance, enum ast_rtp_ice_role role);
|
||||
/*! Callback for requesting a TURN session */
|
||||
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);
|
||||
};
|
||||
|
||||
/*! \brief DTLS setup types */
|
||||
|
Reference in New Issue
Block a user