Allow creation of TestVideoTrackSource not on the signaling thread
Bug: b/272350185 Change-Id: I1bc18f35e2d0b36791966a5954eb28886c569a9b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299261 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39704}
This commit is contained in:
parent
d6c4b1641d
commit
089758dbc5
@ -22,6 +22,7 @@ namespace test {
|
||||
TestVideoTrackSource::TestVideoTrackSource(bool remote)
|
||||
: state_(kInitializing), remote_(remote) {
|
||||
worker_thread_checker_.Detach();
|
||||
signaling_thread_checker_.Detach();
|
||||
}
|
||||
|
||||
VideoTrackSourceInterface::SourceState TestVideoTrackSource::state() const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user