RentonIssac
Results
2
issues of
RentonIssac
时间戳问题
1
uint32_t H264Source::GetTimestamp() { /* #if defined(__linux) || defined(__linux__) struct timeval tv = {0}; gettimeofday(&tv, NULL); uint32_t ts = ((tv.tv_sec*1000)+((tv.tv_usec+500)/1000))*90; // 90: _clockRate/1000; return ts; #else */ auto time_point = chrono::time_point_cast(chrono::steady_clock::now());...
 