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

@@ -39,7 +39,8 @@ void WebRtcEchoTest::onRtcp(const char *buf, size_t len) {
sendRtcpPacket(buf, len, true, nullptr);
}
//修改mline的a=msid属性目的是在echo test的情况下如果offer和answer的msid相同chrome会忽略远端的track
// 修改mline的a=msid属性目的是在echo test的情况下如果offer和answer的msid相同chrome会忽略远端的track [AUTO-TRANSLATED:f2e3da54]
// Modify the a=msid attribute of mline, the purpose is that in the echo test case, if the offer and answer have the same msid, chrome will ignore the remote track.
void WebRtcEchoTest::onCheckSdp(SdpType type, RtcSession &sdp) {
if (type == SdpType::answer) {
for (auto &m : sdp.media) {