![]() |
D++ (DPP)
C++ Discord API Bot Library
|
The range of RTP packet sequence number and timestamp in the lot. More...
#include <discordvoiceclient.h>
Public Attributes | |
| rtp_seq_t | max_seq |
| rtp_timestamp_t | max_timestamp |
| rtp_seq_t | min_seq |
| rtp_timestamp_t | min_timestamp |
The range of RTP packet sequence number and timestamp in the lot.
The minimum is used to drop packets that arrive too late. Packets less than the minimum have been delivered to voice handlers and there is no going back. Unfortunately we just have to drop them.
The maximum is used, at flush time, to calculate the minimum for the next batch. The maximum is also updated every time we receive an RTP packet with a larger value.
| rtp_seq_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::max_seq |
| rtp_timestamp_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::max_timestamp |
| rtp_seq_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::min_seq |
| rtp_timestamp_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::min_timestamp |