Opened 15 years ago

Closed 15 years ago

#923 closed enhancement (fixed)

New API to retrieve current jitter buffer state from a stream/session

Reported by: bennylp Owned by: nanang
Priority: minor Milestone: release-1.4
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:


The jitter buffer provides pjmedia_jbuf_get_state() API to monitor its state, however this API is not accessible to application because jitter buffer instance is private to the stream/session.

This ticket adds new API to retrieve the jitter buffer state from the stream/session instance.

Change History (1)

comment:1 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Done in r2844:

  • added pjmedia_session_get_stream_stat_jbuf() and pjmedia_session_get_stream_stat_jbuf()
  • fixed const correctness in pjmedia_jbuf_get_state(), jb_framelist_size(), and pj_math_stat_get_stddev(),
  • modify the jitter buffer statistic log message printed by stream (it contains newlines)
Note: See TracTickets for help on using tickets.