src/jitterctl.h

00001 /*
00002   The oRTP library is an RTP (Realtime Transport Protocol - rfc3550) stack.
00003   Copyright (C) 2001  Simon MORLAT simon.morlat@linphone.org
00004 
00005   This library is free software; you can redistribute it and/or
00006   modify it under the terms of the GNU Lesser General Public
00007   License as published by the Free Software Foundation; either
00008   version 2.1 of the License, or (at your option) any later version.
00009 
00010   This library is distributed in the hope that it will be useful,
00011   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013   Lesser General Public License for more details.
00014 
00015   You should have received a copy of the GNU Lesser General Public
00016   License along with this library; if not, write to the Free Software
00017   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 /***************************************************************************
00020  *            jitterctl.c
00021  *
00022  *  Mon Nov  8 11:53:21 2004
00023  *  Copyright  2004  Simon MORLAT
00024  *  Email simon.morlat@linphone.org
00025  ****************************************************************************/
00026  
00027 #ifndef JITTERCTL_H
00028 #define JITTERCTL_H
00029 
00030 
00031 void jitter_control_init(JitterControl *ctl, int base_jiitt_time, PayloadType *pt);
00032 void jitter_control_enable_adaptive(JitterControl *ctl, bool_t val);
00033 void jitter_control_new_packet(JitterControl *ctl, uint32_t packet_ts, uint32_t cur_str_ts,
00034                                                                 int32_t * slide, int32_t *safe_delay);
00035 #define jitter_control_adaptive_enabled(ctl) ((ctl)->adaptive)
00036 void jitter_control_set_payload(JitterControl *ctl, PayloadType *pt);
00037 void jitter_control_update_corrective_slide(JitterControl *ctl);
00038 
00039 #endif

Generated on Thu Apr 5 18:59:20 2007 for oRTP by  doxygen 1.5.1