mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-25 15:58:24 -04:00
zm::Select: Convert API to std::chrono
This commit is contained in:
1 parent
c823b9c00e
commit
3e8b10d813
5 files changed
+9
-24
No files matched your search
+1
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user