mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-28 21:52:22 +08:00
Session类构造析构跟踪日志统一在底层网络框架打印
This commit is contained in:
@@ -18,14 +18,11 @@ using namespace toolkit;
|
||||
namespace mediakit {
|
||||
|
||||
RtmpSession::RtmpSession(const Socket::Ptr &sock) : Session(sock) {
|
||||
DebugP(this);
|
||||
GET_CONFIG(uint32_t,keep_alive_sec,Rtmp::kKeepAliveSecond);
|
||||
sock->setSendTimeOutSecond(keep_alive_sec);
|
||||
}
|
||||
|
||||
RtmpSession::~RtmpSession() {
|
||||
DebugP(this);
|
||||
}
|
||||
RtmpSession::~RtmpSession() = default;
|
||||
|
||||
void RtmpSession::onError(const SockException& err) {
|
||||
bool is_player = !_push_src_ownership;
|
||||
|
||||
Reference in New Issue
Block a user