~ubuntu-branches/ubuntu/vivid/linphone/vivid

« back to all changes in this revision

Viewing changes to mediastreamer2/src/audiostream.c

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-06-07 22:14:41 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100607221441-sbk1n7hp0mzu1rze
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
591
591
                ms_filter_call_method(stream->dtmfgen,MS_DTMF_GEN_PUT,&dtmf);
592
592
        return 0;
593
593
}
 
594
 
 
595
void audio_stream_get_local_rtp_stats(AudioStream *stream, rtp_stats_t *lstats){
 
596
        if (stream->session){
 
597
                const rtp_stats_t *stats=rtp_session_get_stats(stream->session);
 
598
                memcpy(lstats,stats,sizeof(*stats));
 
599
        }else memset(lstats,0,sizeof(rtp_stats_t));
 
600
}