Commit ae62d444 by Xiaofeng Wang Committed by GitHub

Merge pull request #1470 from urmyfaith/patch-1

remove duplicate line `rtc_media.type`
parents 6ea60540 cd4e7729
......@@ -779,7 +779,6 @@ void RtcSession::loadFrom(const string &str) {
auto mline = media.getItemClass<SdpMedia>('m');
this->media.emplace_back();
auto &rtc_media = this->media.back();
rtc_media.type = mline.type;
rtc_media.mid = media.getStringItem('a', "mid");
rtc_media.proto = mline.proto;
rtc_media.type = mline.type;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论