mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support reload the object cache pool
This commit is contained in:
parent
501104e728
commit
8e4f252686
2 changed files with 44 additions and 1 deletions
|
@ -85,7 +85,7 @@ public:
|
|||
};
|
||||
|
||||
// The RTC server instance, listen UDP port, handle UDP packet, manage RTC connections.
|
||||
class SrsRtcServer : virtual public ISrsUdpMuxHandler, virtual public ISrsHourGlass
|
||||
class SrsRtcServer : virtual public ISrsUdpMuxHandler, virtual public ISrsHourGlass, virtual public ISrsReloadHandler
|
||||
{
|
||||
private:
|
||||
SrsHourGlass* timer;
|
||||
|
@ -97,6 +97,9 @@ public:
|
|||
virtual ~SrsRtcServer();
|
||||
public:
|
||||
virtual srs_error_t initialize();
|
||||
// interface ISrsReloadHandler
|
||||
public:
|
||||
virtual srs_error_t on_reload_rtc_server();
|
||||
public:
|
||||
// Set the handler for server events.
|
||||
void set_handler(ISrsRtcServerHandler* h);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue