Thread affinity fix for scenario test SetMuted.
This is to satisfy a thread checker in AudioSendStream. Bug: webrtc:9510 Change-Id: I5ba03562fcdc3e93d77707e41220b82b99581470 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169343 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30648}
This commit is contained in:
parent
cabed431f8
commit
9f215a7a3f
@ -153,7 +153,7 @@ void SendAudioStream::Stop() {
|
||||
}
|
||||
|
||||
void SendAudioStream::SetMuted(bool mute) {
|
||||
send_stream_->SetMuted(mute);
|
||||
sender_->SendTask([this, mute] { send_stream_->SetMuted(mute); });
|
||||
}
|
||||
|
||||
ColumnPrinter SendAudioStream::StatsPrinter() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user