From f8467f21fbf461861d981b6e37e26cec27ce5331 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Thu, 17 Jun 2021 11:34:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E6=B5=81=E5=A4=B1=E8=B4=A5=E6=97=B6?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtmp/RtmpPusher.cpp | 1 + src/Rtsp/RtspPusher.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Rtmp/RtmpPusher.cpp b/src/Rtmp/RtmpPusher.cpp index c8813367..3b0b6c74 100644 --- a/src/Rtmp/RtmpPusher.cpp +++ b/src/Rtmp/RtmpPusher.cpp @@ -47,6 +47,7 @@ void RtmpPusher::teardown() { } void RtmpPusher::onPublishResult(const SockException &ex, bool handshake_done) { + DebugL << ex.what(); if (ex.getErrCode() == Err_shutdown) { //主动shutdown的,不触发回调 return; diff --git a/src/Rtsp/RtspPusher.cpp b/src/Rtsp/RtspPusher.cpp index 9ce2d56b..c19b0ce7 100644 --- a/src/Rtsp/RtspPusher.cpp +++ b/src/Rtsp/RtspPusher.cpp @@ -95,6 +95,7 @@ void RtspPusher::publish(const string &url_str) { } void RtspPusher::onPublishResult(const SockException &ex, bool handshake_done) { + DebugL << ex.what(); if (ex.getErrCode() == Err_shutdown) { //主动shutdown的,不触发回调 return;