mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-22 00:42:22 +08:00
AI automatically translates all comments in the code into English (#3917)
This commit is contained in:
@@ -31,7 +31,8 @@ void FlvPlayer::play(const string &url) {
|
||||
|
||||
void FlvPlayer::onResponseHeader(const string &status, const HttpClient::HttpHeader &header) {
|
||||
if (status != "200" && status != "206") {
|
||||
// http状态码不符合预期
|
||||
// http状态码不符合预期 [AUTO-TRANSLATED:2b6996f7]
|
||||
// HTTP status code does not meet expectations
|
||||
throw invalid_argument("bad http status code:" + status);
|
||||
}
|
||||
|
||||
@@ -56,7 +57,8 @@ void FlvPlayer::onResponseCompleted(const SockException &ex) {
|
||||
|
||||
void FlvPlayer::onResponseBody(const char *buf, size_t size) {
|
||||
if (!_benchmark_mode) {
|
||||
// 性能测试模式不做数据解析,节省cpu
|
||||
// 性能测试模式不做数据解析,节省cpu [AUTO-TRANSLATED:53e4af73]
|
||||
// Performance test mode does not parse data to save CPU
|
||||
FlvSplitter::input(buf, size);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user