// TODO(holmer): Look into unifying this with the PacketOptions in // asyncpacketsocket.h. struct PacketOptions {
PacketOptions();
PacketOptions(const PacketOptions&);
~PacketOptions();
// Negative ids are invalid and should be interpreted // as packet_id not being set.
int64_t packet_id = -1; // Whether this is an audio or video packet, excluding retransmissions. // Defaults to `false` which is the more common case. bool is_media = false; bool included_in_feedback = false; bool included_in_allocation = false; bool send_as_ect1 = false; // Whether this packet can be part of a packet batch at lower levels. bool batchable = false; // Whether this packet is the last of a batch. bool last_packet_in_batch = false;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.