srs/trunk/src/app/srs_app_heartbeat.hpp
ChenGH 13597d1b7f
update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271)
update copyright to 2025

---------

Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: winlin <winlinvip@gmail.com>
2025-01-14 17:35:18 +08:00

26 lines
439 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