26 #ifndef _FIXEDJITTERBUF_H_
27 #define _FIXEDJITTERBUF_H_
29 #if defined(__cplusplus) || defined(c_plusplus)
44 #define FIXED_JB_SIZE_DEFAULT 200
45 #define FIXED_JB_RESYNCH_THRESHOLD_DEFAULT 1000
52 long resync_threshold;
74 void fixed_jb_destroy(
struct fixed_jb *jb);
76 int fixed_jb_put_first(
struct fixed_jb *jb,
void *data,
long ms,
long ts,
long now);
78 int fixed_jb_put(
struct fixed_jb *jb,
void *data,
long ms,
long ts,
long now);
82 long fixed_jb_next(
struct fixed_jb *jb);
86 void fixed_jb_set_force_resynch(
struct fixed_jb *jb);
91 #if defined(__cplusplus) || defined(c_plusplus)
private fixed_jb structure
All configuration options for http media cache.
int fixed_jb_is_late(struct fixed_jb *jb, long ts)
Checks if the given time stamp is late.