20 bool operator> (const GREPacket &other) const {
21 return seq > other.seq;
25 class Reorderer : public Sender {
27 Reorderer(Sender* sender);
28 void send_packet(uint16_t proto, const std::string& data, int seq);
31 void check_ts_discontinuity(uint16_t proto, const std::string &data, bool silence);
36 std::priority_queue<GREPacket, std::vector<GREPacket>, std::greater<GREPacket>> packet_buffer;
37 std::map<int, int> ccs;
40 #endif // !defined(_REORDERER_H)