mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-23 23:49:21 +00:00
Fixed unordered flag and renamed reliability type for consistency
This commit is contained in:
@ -27,13 +27,9 @@
|
||||
namespace rtc {
|
||||
|
||||
struct Reliability {
|
||||
enum Type : uint8_t {
|
||||
TYPE_RELIABLE = 0x00,
|
||||
TYPE_PARTIAL_RELIABLE_REXMIT = 0x01,
|
||||
TYPE_PARTIAL_RELIABLE_TIMED = 0x02,
|
||||
};
|
||||
enum class Type { Reliable = 0, Rexmit, Timed };
|
||||
|
||||
Type type = TYPE_RELIABLE;
|
||||
Type type = Type::Reliable;
|
||||
bool unordered = false;
|
||||
std::variant<int, std::chrono::milliseconds> rexmit = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user