Public Attributes | |
spx_uint32_t | pointer_timestamp |
spx_uint32_t | last_returned_timestamp |
spx_uint32_t | next_stop |
spx_int32_t | buffered |
JitterBufferPacket | packets [SPEEX_JITTER_MAX_BUFFER_SIZE] |
spx_uint32_t | arrival [SPEEX_JITTER_MAX_BUFFER_SIZE] |
void(* | destroy )(void *) |
spx_int32_t | delay_step |
spx_int32_t | concealment_size |
int | reset_state |
int | buffer_margin |
int | late_cutoff |
int | interp_requested |
int | auto_adjust |
struct TimingBuffer | _tb [MAX_BUFFERS] |
struct TimingBuffer * | timeBuffers [MAX_BUFFERS] |
int | window_size |
int | subwindow_size |
int | max_late_rate |
int | latency_tradeoff |
int | auto_tradeoff |
int | lost_count |
spx_uint32_t JitterBuffer_::pointer_timestamp |
Timestamp of what we will *get* next
spx_uint32_t JitterBuffer_::last_returned_timestamp |
Useful for getting the next packet with the same timestamp (for fragmented media)
spx_uint32_t JitterBuffer_::next_stop |
Estimated time the next get() will be called
spx_int32_t JitterBuffer_::buffered |
Amount of data we think is still buffered by the application (timestamp units)
JitterBufferPacket JitterBuffer_::packets[SPEEX_JITTER_MAX_BUFFER_SIZE] |
Packets stored in the buffer
spx_uint32_t JitterBuffer_::arrival[SPEEX_JITTER_MAX_BUFFER_SIZE] |
Packet arrival time (0 means it was late, even though it's a valid timestamp)
void(* JitterBuffer_::destroy)(void *) |
Callback for destroying a packet
spx_int32_t JitterBuffer_::delay_step |
Size of the steps when adjusting buffering (timestamp units)
spx_int32_t JitterBuffer_::concealment_size |
Size of the packet loss concealment "units"
True if state was just reset
How many frames we want to keep in the buffer (lower bound)
How late must a packet be for it not to be considered at all
An interpolation is requested by speex_jitter_update_delay()
Whether to automatically adjust the delay at any time
struct TimingBuffer JitterBuffer_::_tb[MAX_BUFFERS] [read] |
Don't use those directly
struct TimingBuffer* JitterBuffer_::timeBuffers[MAX_BUFFERS] [read] |
Storing arrival time of latest frames so we can compute some stats
Total window over which the late frames are counted
Sub-window size for faster computation
Absolute maximum amount of late packets tolerable (in percent)
Latency equivalent of losing one percent of packets
Latency equivalent of losing one percent of packets (automatic default)
Number of consecutive lost packets