mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Fix rtc to rtmp sync timestamp using sender report. #2470
This commit is contained in:
parent
3d58e98d1c
commit
85620a34f5
309 changed files with 14837 additions and 8525 deletions
|
@ -294,6 +294,8 @@ private:
|
|||
int cached_payload_size;
|
||||
// The helper handler for decoder, use RAW payload if NULL.
|
||||
ISrsRtspPacketDecodeHandler* decode_handler;
|
||||
private:
|
||||
int64_t avsync_time_;
|
||||
public:
|
||||
SrsRtpPacket();
|
||||
virtual ~SrsRtpPacket();
|
||||
|
@ -329,6 +331,8 @@ public:
|
|||
virtual srs_error_t decode(SrsBuffer* buf);
|
||||
public:
|
||||
bool is_keyframe();
|
||||
void set_avsync_time(int64_t avsync_time) { avsync_time_ = avsync_time; }
|
||||
int64_t get_avsync_time() const { return avsync_time_; }
|
||||
};
|
||||
|
||||
// Single payload data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue