mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
时间戳改为64位
This commit is contained in:
@@ -34,7 +34,7 @@ static bool loadFile(const char *path){
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t timeStamp_last = 0;
|
||||
uint64_t timeStamp_last = 0;
|
||||
uint16_t len;
|
||||
char rtp[0xFFFF];
|
||||
struct sockaddr_storage addr = {0};
|
||||
@@ -57,7 +57,7 @@ static bool loadFile(const char *path){
|
||||
break;
|
||||
}
|
||||
total_size += len;
|
||||
uint32_t timeStamp;
|
||||
uint64_t timeStamp;
|
||||
|
||||
RtpSelector::Instance().inputRtp(sock, rtp, len, (struct sockaddr *)&addr, &timeStamp);
|
||||
auto diff = timeStamp - timeStamp_last;
|
||||
|
||||
Reference in New Issue
Block a user