mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
add a couple, two tree stats
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12913 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -433,6 +433,8 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_activate_stun_ping(switch_rtp_t *rtp_
|
||||
|
||||
SWITCH_DECLARE(void) switch_rtp_intentional_bugs(switch_rtp_t *rtp_session, switch_rtp_bug_flag_t bugs);
|
||||
|
||||
SWITCH_DECLARE(switch_rtp_stats_t *) switch_rtp_get_stats(switch_rtp_t *rtp_session, switch_memory_pool_t *pool);
|
||||
|
||||
/*!
|
||||
\}
|
||||
*/
|
||||
|
||||
@@ -426,6 +426,24 @@ typedef enum {
|
||||
} switch_vad_flag_enum_t;
|
||||
typedef uint32_t switch_vad_flag_t;
|
||||
|
||||
typedef struct {
|
||||
switch_size_t raw_bytes;
|
||||
switch_size_t media_bytes;
|
||||
switch_size_t packet_count;
|
||||
switch_size_t media_packet_count;
|
||||
switch_size_t skip_packet_count;
|
||||
switch_size_t jb_packet_count;
|
||||
switch_size_t dtmf_packet_count;
|
||||
switch_size_t cng_packet_count;
|
||||
switch_size_t flush_packet_count;
|
||||
} switch_rtp_numbers_t;
|
||||
|
||||
typedef struct {
|
||||
switch_rtp_numbers_t in;
|
||||
switch_rtp_numbers_t out;
|
||||
} switch_rtp_stats_t;
|
||||
|
||||
|
||||
#define SWITCH_RTP_CNG_PAYLOAD 13
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user