D++ (DPP)
C++ Discord API Bot Library
Loading...
Searching...
No Matches
dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t Struct Reference

The range of RTP packet sequence number and timestamp in the lot. More...

#include <discordvoiceclient.h>

Collaboration diagram for dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t:

Public Attributes

rtp_seq_t max_seq
rtp_timestamp_t max_timestamp
rtp_seq_t min_seq
rtp_timestamp_t min_timestamp

Detailed Description

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.

Member Data Documentation

◆ max_seq

rtp_seq_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::max_seq

◆ max_timestamp

rtp_timestamp_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::max_timestamp

◆ min_seq

rtp_seq_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::min_seq

◆ min_timestamp

rtp_timestamp_t dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t::min_timestamp
D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0