[Merge to M93] Keep `transport_queue_safety_` alive until stopped permanently.

After a send stream is stopped, it can still be re-used and implicitly
restarted by activating layers. This change removes marking the flag
we use for async operations as 'not alive' inside Stop() and only doing
so when the send stream is stopped permanently.

The effect this has is that an implicit start via
UpdateActiveSimulcastLayers() will run and correctly update the states.
Before, if a stream had been stopped, the safety flag would prevent
the async operation from running.

(cherry picked from commit 51238e6c2859a6f4b021621ced3cfe9852068aa6)

Bug: chromium:1241213
Change-Id: Iebdfabba3e1955aafa364760eebd4f66281bcc60
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229304
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Original-Commit-Position: refs/heads/master@{#34809}
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229582
Cr-Commit-Position: refs/branch-heads/4577@{#8}
Cr-Branched-From: 51969310ef432a9c340bb091eea1f1553ca01587-refs/heads/master@{#34463}
3 files changed
tree: 8b1f8c4bf83263b6efd79ca6797bdbcf5cd7f48d
  1. .clang-format
  2. .git-blame-ignore-revs
  3. .gitignore
  4. .gn
  5. .vpython
  6. AUTHORS
  7. BUILD.gn
  8. CODE_OF_CONDUCT.md
  9. DEPS
  10. DIR_METADATA
  11. ENG_REVIEW_OWNERS
  12. LICENSE
  13. OWNERS
  14. PATENTS
  15. PRESUBMIT.py
  16. README.chromium
  17. README.md
  18. WATCHLISTS
  19. api/
  20. audio/
  21. build_overrides/
  22. call/
  23. codereview.settings
  24. common_audio/
  25. common_video/
  26. data/
  27. docs/
  28. examples/
  29. g3doc.lua
  30. g3doc/
  31. license_template.txt
  32. logging/
  33. media/
  34. modules/
  35. native-api.md
  36. net/
  37. p2p/
  38. pc/
  39. presubmit_test.py
  40. presubmit_test_mocks.py
  41. pylintrc
  42. resources/
  43. rtc_base/
  44. rtc_tools/
  45. sdk/
  46. stats/
  47. system_wrappers/
  48. test/
  49. tools_webrtc/
  50. video/
  51. webrtc.gni
  52. webrtc_lib_link_test.cc
  53. whitespace.txt
README.md

WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.

Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.

The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.

Development

See here for instructions on how to get started developing with the native code.

Authoritative list of directories that contain the native API header files.

More info