mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
improve timestamp type: int -> uint.
This commit is contained in:
parent
7951bf3bd6
commit
00d14daa16
6 changed files with 15 additions and 15 deletions
|
|
@ -299,7 +299,7 @@ private:
|
|||
// The helper handler for decoder, use RAW payload if NULL.
|
||||
ISrsRtspPacketDecodeHandler* decode_handler;
|
||||
private:
|
||||
int64_t avsync_time_;
|
||||
uint64_t avsync_time_;
|
||||
public:
|
||||
SrsRtpPacket();
|
||||
virtual ~SrsRtpPacket();
|
||||
|
|
@ -336,8 +336,8 @@ public:
|
|||
public:
|
||||
bool is_keyframe();
|
||||
// Get and set the packet sync time in milliseconds.
|
||||
void set_avsync_time(int64_t avsync_time) { avsync_time_ = avsync_time; }
|
||||
int64_t get_avsync_time() const { return avsync_time_; }
|
||||
void set_avsync_time(uint64_t avsync_time) { avsync_time_ = avsync_time; }
|
||||
uint64_t get_avsync_time() const { return avsync_time_; }
|
||||
};
|
||||
|
||||
// Single payload data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue