zm::Select: Convert API to std::chrono

This commit is contained in:
Peter Keresztes Schmidt
2021-06-13 17:29:43 +02:00
parent c823b9c00e
commit 3e8b10d813
5 changed files with 9 additions and 24 deletions

View File

@@ -76,7 +76,7 @@ void RtpDataThread::Run() {
}
Debug(3, "Bound to %s:%d", mRtpSource.getLocalHost().c_str(), mRtpSource.getLocalDataPort());
zm::Select select(3);
zm::Select select(Seconds(3));
select.addReader(&rtpDataSocket);
unsigned char buffer[ZM_NETWORK_BUFSIZ];