Template Struct Packets¶ Defined in File packets.h Struct Documentation¶ template<MediaType media>struct Packets¶ Public Functions Packets() = default¶ Packets(const std::string &src, Codec<media> &&codec, const std::optional<std::tuple<double, double>> ×tamp = {})¶ explicit Packets(const std::string &src)¶ Packets(uintptr_t id, Rational time_base)¶ explicit Packets(const Packets<media>&)¶ Packets<media> &operator=(const Packets<media>&)¶ Packets(Packets<media>&&) noexcept¶ Packets<media> &operator=(Packets<media>&&) noexcept¶ ~Packets() = default¶ Public Members uintptr_t id = {}¶ std::string src¶ PacketSeries pkts¶ Rational time_base = {}¶ std::optional<std::tuple<double, double>> timestamp¶ std::optional<Codec<media>> codec¶