mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Merge pull request #1470 from urmyfaith/patch-1
remove duplicate line `rtc_media.type`
This commit is contained in:
commit
ae62d44447
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user