时间戳改为64位

This commit is contained in:
ziyue
2022-08-08 17:13:39 +08:00
parent 143580d780
commit 9c3b8a6a95
44 changed files with 143 additions and 143 deletions

View File

@@ -27,7 +27,7 @@ public:
~TSPacket() override = default;
public:
uint32_t time_stamp = 0;
uint64_t time_stamp = 0;
};
//TS直播源

View File

@@ -66,7 +66,7 @@ public:
}
protected:
void onWrite(std::shared_ptr<toolkit::Buffer> buffer, uint32_t timestamp, bool key_pos) override {
void onWrite(std::shared_ptr<toolkit::Buffer> buffer, uint64_t timestamp, bool key_pos) override {
if (!buffer) {
return;
}