1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-24 06:54:22 +00:00
srs/trunk/src/app/srs_app_heartbeat.hpp

26 lines
430 B
C++
Raw Normal View History

//
// Copyright (c) 2013-2021 Winlin
//
// SPDX-License-Identifier: MIT
//
2014-05-19 07:45:04 +00:00
#ifndef SRS_APP_HEARTBEAT_HPP
#define SRS_APP_HEARTBEAT_HPP
#include <srs_core.hpp>
2019-04-28 01:08:05 +00:00
// The http heartbeat to api-server to notice api that the information of SRS.
2014-05-19 09:39:01 +00:00
class SrsHttpHeartbeat
{
public:
SrsHttpHeartbeat();
virtual ~SrsHttpHeartbeat();
public:
virtual void heartbeat();
2018-01-01 11:39:57 +00:00
private:
virtual srs_error_t do_heartbeat();
2014-05-19 09:39:01 +00:00
};
#endif