commit | 0a16276290227c2611a685b99286e92927c531e8 | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Mon May 02 13:47:52 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 02 18:07:24 2022 |
tree | a3e8bae30ca2961b97b8eecb97a7ce237ee2c927 | |
parent | 548102642d49174ead380e07fc9480b0c6595912 [diff] |
Restore FiredDirection and maybe fire OnTrack in Rollback. Prior to this CL, rollback did not restore FiredDirection and remote streams were only sometimes restored. This resulted in not firing ontrack if a track was rolled back and then added again on the same transceiver. Rollback also never performed OnTrack, which is incorrect because a transceiver that goes from sendrecv to inactive will cause OnRemoveTrack and if this is rolled back (so we become sendrecv again) then we need OnTrack to fire. This CL improves rollback's "memory", fires ontrack in Rollback() and adds test coverage. Needed to solve similar bugs in the Chromium layers as well: https://chromium-review.googlesource.com/c/chromium/src/+/3613313 Bug: chromium:1320669 Change-Id: I655dd7d8a6b86080fe0e7c32c9e8c6434062ae91 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/260330 Commit-Queue: Henrik Boström <hbos@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36734}
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.
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.