修复编译失败的问题

This commit is contained in:
xia-chu 2021-01-03 15:55:11 +08:00
parent 4b22e189d5
commit 0e3c21932d
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ void API_CALL on_mk_http_request(const mk_parser parser,
"</body>" "</body>"
"</html>"; "</html>";
mk_http_body body = mk_http_body_from_string(content,0); 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); mk_http_body_release(body);
} }

View File

@ -347,7 +347,7 @@ void MultiMediaSourceMuxer::startSendRtp(MediaSource &sender, const string &dst_
strong_self->_rtp_sender[ssrc] = rtp_sender; strong_self->_rtp_sender[ssrc] = rtp_sender;
}); });
#else #else
cb(SockException(Err_other, "该功能未启用编译时请打开ENABLE_RTPPROXY宏")); cb(0, SockException(Err_other, "该功能未启用编译时请打开ENABLE_RTPPROXY宏"));
#endif//ENABLE_RTPPROXY #endif//ENABLE_RTPPROXY
} }