Browse Source

Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new

pull/926/head
Balajee SV 6 years ago
parent
commit
b45dbbdc24
3 changed files with 8 additions and 2 deletions
  1. +1
    -1
      daemon/call.c
  2. +0
    -1
      daemon/jitter_buffer.c
  3. +7
    -0
      include/jitter_buffer.h

+ 1
- 1
daemon/call.c View File

@ -2261,7 +2261,7 @@ no_stats_output:
ps = l->data;
send_timer_put(&ps->send_timer);
obj_put(&ps->jb->ttq.tt_obj);
jb_put(&ps->jb);
__unkernelize(ps);
dtls_shutdown(ps);
ps->selected_sfd = NULL;


+ 0
- 1
daemon/jitter_buffer.c View File

@ -257,7 +257,6 @@ static void decrement_buffer(struct jitter_buffer *jb) {
}
static void set_jitter_values(struct media_packet *mp) {
int ret=0;
struct jitter_buffer *jb = mp->stream->jb;
if(!jb || !mp->rtp)
return;


+ 7
- 0
include/jitter_buffer.h View File

@ -49,4 +49,11 @@ void jb_packet_free(struct jb_packet **jbp);
void jitter_buffer_loop(void *p);
INLINE void jb_put(struct jitter_buffer **jb) {
if (!*jb)
return;
obj_put(&(*jb)->ttq.tt_obj);
*jb = NULL;
}
#endif

Loading…
Cancel
Save