#include <VoiceJitterBuffer.hpp>
|
| | VoiceJitterBuffer (std::size_t prebufferFrames=2, std::size_t maxFrames=10) |
| void | push (std::uint16_t sequence, std::uint8_t frameMs, std::span< const std::uint8_t > opus) |
| std::optional< EncodedFrame > | pop () |
| std::size_t | size () const noexcept |
| void | reset () |
|
| bool | tooOld (std::uint16_t sequence) const noexcept |
| std::uint16_t | firstSequence () const noexcept |
◆ VoiceJitterBuffer()
| VoiceJitterBuffer::VoiceJitterBuffer |
( |
std::size_t | prebufferFrames = 2, |
|
|
std::size_t | maxFrames = 10 ) |
|
explicit |
◆ firstSequence()
| std::uint16_t VoiceJitterBuffer::firstSequence |
( |
| ) |
const |
|
nodiscardprivatenoexcept |
◆ pop()
◆ push()
| void VoiceJitterBuffer::push |
( |
std::uint16_t | sequence, |
|
|
std::uint8_t | frameMs, |
|
|
std::span< const std::uint8_t > | opus ) |
◆ reset()
| void VoiceJitterBuffer::reset |
( |
| ) |
|
◆ size()
| std::size_t VoiceJitterBuffer::size |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ tooOld()
| bool VoiceJitterBuffer::tooOld |
( |
std::uint16_t | sequence | ) |
const |
|
nodiscardprivatenoexcept |
◆ expectedSequence_
| std::uint16_t VoiceJitterBuffer::expectedSequence_ = 0 |
|
private |
◆ frames_
◆ hasExpected_
| bool VoiceJitterBuffer::hasExpected_ = false |
|
private |
◆ maxFrames_
| std::size_t VoiceJitterBuffer::maxFrames_ = 10 |
|
private |
◆ prebufferFrames_
| std::size_t VoiceJitterBuffer::prebufferFrames_ = 2 |
|
private |
The documentation for this class was generated from the following files: