mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修复编译失败的问题
This commit is contained in:
parent
4b22e189d5
commit
0e3c21932d
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user