Commit 57896d51 authored by Simon Morlat's avatar Simon Morlat
Browse files

RTP statistics retrieval.

parent 04994568
......@@ -150,6 +150,9 @@ int audio_stream_send_dtmf (AudioStream * stream, char dtmf);
void audio_stream_set_default_card(int cardindex);
/* retrieve RTP statistics*/
void audio_stream_get_local_rtp_stats(AudioStream *stream, rtp_stats_t *stats);
Video Support
......@@ -591,3 +591,10 @@ int audio_stream_send_dtmf(AudioStream *stream, char dtmf)
return 0;
void audio_stream_get_local_rtp_stats(AudioStream *stream, rtp_stats_t *lstats){
if (stream->session){
const rtp_stats_t *stats=rtp_session_get_stats(stream->session);
}else memset(lstats,0,sizeof(rtp_stats_t));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment