Replaced boost::asio::io_service with boost::asio::io_context in rtsp_server.hpp, see #197
This commit is contained in:
parent
21690a8589
commit
4fc96c9491
@ -125,7 +125,7 @@ class RtspServer {
|
|||||||
void accept();
|
void accept();
|
||||||
|
|
||||||
std::mutex mutex_;
|
std::mutex mutex_;
|
||||||
boost::asio::io_service io_service_;
|
boost::asio::io_context io_service_;
|
||||||
std::shared_ptr<SessionManager> session_manager_;
|
std::shared_ptr<SessionManager> session_manager_;
|
||||||
std::shared_ptr<Config> config_;
|
std::shared_ptr<Config> config_;
|
||||||
std::vector<std::weak_ptr<RtspSession> > sessions_{session_num_max};
|
std::vector<std::weak_ptr<RtspSession> > sessions_{session_num_max};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user