mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support http heartbeat, 0.9.107
This commit is contained in:
parent
cb95b5909c
commit
ef0f7f4da8
14 changed files with 459 additions and 185 deletions
|
@ -29,4 +29,23 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
*/
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#ifdef SRS_AUTO_HTTP_PARSER
|
||||
|
||||
/**
|
||||
* the http heartbeat to api-server to notice api
|
||||
* that the information of SRS.
|
||||
*/
|
||||
class SrsHttpHeartbeat
|
||||
{
|
||||
public:
|
||||
SrsHttpHeartbeat();
|
||||
virtual ~SrsHttpHeartbeat();
|
||||
public:
|
||||
virtual void heartbeat();
|
||||
public:
|
||||
static void update_local_ipv4_ips();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue