gecko-dev/media/webrtc
Andreas Pehrson 48a1a6bdd5 Bug 1837570 - Use canonical-initiated connections for webrtc mirrors. r=bwc
The same main thread task that may expose RTCRtpTransceiver (and its receiver
and sender) connects the conduit mirrors through an async task on the call
thread. If js does something that triggers a regular task to be dispatched to
the call thread, that task cannot make assumptions on the state of the conduit.

With this patch enabling canonical-initialization, conduit and pipeline mirrors
are connected synchronously, and a task like that mentioned above is guaranteed
to arrive after the first canonical statechange task, meaning it *can* make
assumptions on the state of the class owning the mirrors.

Differential Revision: https://phabricator.services.mozilla.com/D180429
2023-06-22 15:00:24 +00:00
..
signaling/gtest Bug 1837570 - Use canonical-initiated connections for webrtc mirrors. r=bwc 2023-06-22 15:00:24 +00:00
.gclient
.gclient_entries
moz.build