srs/trunk/src/app/srs_app_heartbeat.hpp
Winlin 6e1134fe9b
Use clang format. v7.0.52 (#4433)
---------

Co-authored-by: ChenGH <chengh_math@126.com>
2025-08-11 23:19:19 -04:00

27 lines
440 B
C++

//
// Copyright (c) 2013-2025 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