1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/src/app/srs_app_heartbeat.hpp
Winlin c8a1e0f3da
Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8 (#2464)
* Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8

* Update README.md

* Update README.md

* Refine format for AUTHORS.md
2021-07-08 14:30:47 +08:00

25 lines
439 B
C++

//
// Copyright (c) 2013-2021 The SRS Authors
//
// SPDX-License-Identifier: MIT
//
#ifndef SRS_APP_HEARTBEAT_HPP
#define SRS_APP_HEARTBEAT_HPP
#include <srs_core.hpp>
// The http heartbeat to api-server to notice api that the information of SRS.
class SrsHttpHeartbeat
{
public:
SrsHttpHeartbeat();
virtual ~SrsHttpHeartbeat();
public:
virtual void heartbeat();
private:
virtual srs_error_t do_heartbeat();
};
#endif