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
@@ -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];