mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-08 02:12:17 -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
@@ -269,7 +269,7 @@ void RtpCtrlThread::Run() {
|
||||
|
||||
// The only reason I can think of why we would have a timeout period is so that we can regularly send RR packets.
|
||||
// Why 10 seconds? If anything I think this should be whatever timeout value was given in the DESCRIBE response
|
||||
zm::Select select(10 );
|
||||
zm::Select select(Seconds(10));
|
||||
select.addReader( &rtpCtrlServer );
|
||||
|
||||
unsigned char buffer[ZM_NETWORK_BUFSIZ];
|
||||
|
||||
Reference in new issue
Block a user