mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1280259: clear the remote SSRC vector on a track. r=bwc
MozReview-Commit-ID: 9LtaqeiIQoY --HG-- extra : rebase_source : e063a7965c9daabd7191cdbcadaaf7838032feb5
This commit is contained in:
parent
b650b6987e
commit
1f4ba9256c
@ -398,10 +398,12 @@ JsepTrack::Negotiate(const SdpMediaSection& answer,
|
||||
}
|
||||
}
|
||||
|
||||
if ((mDirection == sdp::kRecv) &&
|
||||
remote.GetAttributeList().HasAttribute(SdpAttribute::kSsrcAttribute)) {
|
||||
for (auto& ssrcAttr : remote.GetAttributeList().GetSsrc().mSsrcs) {
|
||||
AddSsrc(ssrcAttr.ssrc);
|
||||
if (mDirection == sdp::kRecv) {
|
||||
mSsrcs.clear();
|
||||
if (remote.GetAttributeList().HasAttribute(SdpAttribute::kSsrcAttribute)) {
|
||||
for (auto& ssrcAttr : remote.GetAttributeList().GetSsrc().mSsrcs) {
|
||||
AddSsrc(ssrcAttr.ssrc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user