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

This commit is contained in:
Peter Keresztes Schmidt committed 2021-06-13 23:22:51 +02:00
1 parent c823b9c00e
commit 3e8b10d813
5 files changed
+9 -24

No files matched your search

+1 -1
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];