mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-27 04:22:20 +08:00
时间戳改为64位
This commit is contained in:
@@ -558,8 +558,8 @@ uint32_t RtpPacket::getStamp() const {
|
||||
return ntohl(getHeader()->stamp);
|
||||
}
|
||||
|
||||
uint32_t RtpPacket::getStampMS(bool ntp) const {
|
||||
return ntp ? ntp_stamp & 0xFFFFFFFF : getStamp() * uint64_t(1000) / sample_rate;
|
||||
uint64_t RtpPacket::getStampMS(bool ntp) const {
|
||||
return ntp ? ntp_stamp : getStamp() * uint64_t(1000) / sample_rate;
|
||||
}
|
||||
|
||||
uint32_t RtpPacket::getSSRC() const {
|
||||
|
||||
Reference in New Issue
Block a user