mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
CHECK against overwrites in send_modules_map_
No-try: true Bug: chromium:1477075 Change-Id: Ia05a868bfab9e99ef66704e8d6bce516a7a43b0a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/318440 Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40673}
This commit is contained in:
parent
9acda0b8ac
commit
9d8fb97b3c
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ void PacketRouter::AddSendRtpModule(RtpRtcpInterface* rtp_module,
|
||||||
void PacketRouter::AddSendRtpModuleToMap(RtpRtcpInterface* rtp_module,
|
void PacketRouter::AddSendRtpModuleToMap(RtpRtcpInterface* rtp_module,
|
||||||
uint32_t ssrc) {
|
uint32_t ssrc) {
|
||||||
RTC_DCHECK_RUN_ON(&thread_checker_);
|
RTC_DCHECK_RUN_ON(&thread_checker_);
|
||||||
RTC_DCHECK(send_modules_map_.find(ssrc) == send_modules_map_.end());
|
RTC_CHECK(send_modules_map_.find(ssrc) == send_modules_map_.end());
|
||||||
|
|
||||||
// Signal to module that the pacer thread is attached and can send packets.
|
// Signal to module that the pacer thread is attached and can send packets.
|
||||||
rtp_module->OnPacketSendingThreadSwitched();
|
rtp_module->OnPacketSendingThreadSwitched();
|
||||||
|
|
Loading…
Reference in a new issue