From 0e3c21932db0340917615e6ad36c20a2965691dc Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Sun, 3 Jan 2021 15:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/tests/server.c | 2 +- src/Common/MultiMediaSourceMuxer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tests/server.c b/api/tests/server.c index 40ac9954..f518b80f 100644 --- a/api/tests/server.c +++ b/api/tests/server.c @@ -179,7 +179,7 @@ void API_CALL on_mk_http_request(const mk_parser parser, "" ""; mk_http_body body = mk_http_body_from_string(content,0); - mk_http_response_invoker_do(invoker, "200 OK", response_header, body); + mk_http_response_invoker_do(invoker, 200, response_header, body); mk_http_body_release(body); } diff --git a/src/Common/MultiMediaSourceMuxer.cpp b/src/Common/MultiMediaSourceMuxer.cpp index 0933c0d6..80ab20f6 100644 --- a/src/Common/MultiMediaSourceMuxer.cpp +++ b/src/Common/MultiMediaSourceMuxer.cpp @@ -347,7 +347,7 @@ void MultiMediaSourceMuxer::startSendRtp(MediaSource &sender, const string &dst_ strong_self->_rtp_sender[ssrc] = rtp_sender; }); #else - cb(SockException(Err_other, "该功能未启用,编译时请打开ENABLE_RTPPROXY宏")); + cb(0, SockException(Err_other, "该功能未启用,编译时请打开ENABLE_RTPPROXY宏")); #endif//ENABLE_RTPPROXY }