mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
remove dumplicate line rtc_media.type
remove dumplicate line `rtc_media.type = mline.type;`
This commit is contained in:
parent
6ea6054073
commit
cd4e772985
@ -779,7 +779,6 @@ void RtcSession::loadFrom(const string &str) {
|
|||||||
auto mline = media.getItemClass<SdpMedia>('m');
|
auto mline = media.getItemClass<SdpMedia>('m');
|
||||||
this->media.emplace_back();
|
this->media.emplace_back();
|
||||||
auto &rtc_media = this->media.back();
|
auto &rtc_media = this->media.back();
|
||||||
rtc_media.type = mline.type;
|
|
||||||
rtc_media.mid = media.getStringItem('a', "mid");
|
rtc_media.mid = media.getStringItem('a', "mid");
|
||||||
rtc_media.proto = mline.proto;
|
rtc_media.proto = mline.proto;
|
||||||
rtc_media.type = mline.type;
|
rtc_media.type = mline.type;
|
||||||
|
Loading…
Reference in New Issue
Block a user