AI automatically translates all comments in the code into English (#3917)

This commit is contained in:
alex
2024-09-19 14:53:50 +08:00
committed by GitHub
parent 046de691cb
commit 4152dcd409
279 changed files with 10602 additions and 3038 deletions

View File

@@ -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);
}
}