зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1671923: Lock to protect secondary_sinks_ r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D94156
This commit is contained in:
Родитель
bbf349e952
Коммит
1a352a887c
|
@ -383,6 +383,7 @@ void RtpVideoStreamReceiver::OnRtpPacket(const RtpPacketReceived& packet) {
|
|||
header, packet.size(), IsPacketRetransmitted(header, in_order));
|
||||
}
|
||||
|
||||
rtc::CritScope lock(&receive_cs_);
|
||||
for (RtpPacketSinkInterface* secondary_sink : secondary_sinks_) {
|
||||
secondary_sink->OnRtpPacket(packet);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче