Taylor Brandstetter 2ab9b28c52 Get rid of unnecessary network thread Invoke in BaseChannel.
By changing was_ever_writable_ to be guarded by the worker thread
instead of the network thread.

Gets rid of one network thread invoke per audio/video m= section per
round of negotiation.

NOTRY=True

Bug: webrtc:12266
Change-Id: Ie913a9f96db3fd8351559e916922c82d2d0337f0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203881
Commit-Queue: Taylor <deadbeef@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33130}
2021-02-02 02:48:08 +00:00
..
2019-01-28 11:17:00 +00:00
2019-07-08 13:45:15 +00:00
2020-02-25 14:45:04 +00:00
2021-01-28 14:22:52 +00:00
2019-07-08 13:45:15 +00:00