直接打印SockException类

This commit is contained in:
xiongziliang
2023-04-23 00:10:18 +08:00
parent de8249592e
commit c8a20f85f6
15 changed files with 17 additions and 20 deletions

View File

@@ -336,7 +336,7 @@ void RtpSender::onFlushRtpList(shared_ptr<List<Buffer::Ptr> > rtp_list) {
void RtpSender::onErr(const SockException &ex) {
_is_connect = false;
WarnL << "send rtp connection lost: " << ex.what();
WarnL << "send rtp connection lost: " << ex;
onClose(ex);
}