parent
877af1b62b
commit
42e14b11de
|
|
@ -125,12 +125,12 @@ public:
|
||||||
uint64_t getNtpStamp(uint32_t rtp_stamp, uint32_t sample_rate);
|
uint64_t getNtpStamp(uint32_t rtp_stamp, uint32_t sample_rate);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void update(uint32_t rtp_stamp, double ntp_stamp_ms);
|
void update(uint32_t rtp_stamp, uint64_t ntp_stamp_ms);
|
||||||
uint64_t getNtpStamp_l(uint32_t rtp_stamp, uint32_t sample_rate);
|
uint64_t getNtpStamp_l(uint32_t rtp_stamp, uint32_t sample_rate);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint32_t _last_rtp_stamp = 0;
|
uint32_t _last_rtp_stamp = 0;
|
||||||
double _last_ntp_stamp_ms = 0;
|
uint64_t _last_ntp_stamp_ms = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
}//namespace mediakit
|
}//namespace mediakit
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue