mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 10:50:52 +08:00
时间戳改为64位
This commit is contained in:
@@ -27,7 +27,7 @@ public:
|
||||
~TSPacket() override = default;
|
||||
|
||||
public:
|
||||
uint32_t time_stamp = 0;
|
||||
uint64_t time_stamp = 0;
|
||||
};
|
||||
|
||||
//TS直播源
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user