| commit | 7d3af2ee95f292d148cf606f17a8129f8e7177b0 | [log] [tgz] |
|---|---|---|
| author | Rasmus Brandt <brandtr@webrtc.org> | Wed Jan 14 11:43:37 2026 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 14 14:37:59 2026 |
| tree | 83060f32e8192d34897c206fd1892c6bc8c2ab64 | |
| parent | a917e7ab9a7805d91410bde0e00ed206bf1391f5 [diff] |
Log RTX OSN by decentralizing packet event logging to streams. This change decentralizes the logging of `RtcEventRtpPacketIncoming` to the streams, to allow logging of RTX original sequence number (OSN) for valid RTX streams. Why not keep logging centralized? We tried that in https://webrtc-review.googlesource.com/c/src/+/434300, but that solution turned out to be non-ideal: 1) it is complicated and hacky [duplicating SSRC demuxing and RTX decapsulation], 2) it is not safe [we cannot guarantee that the first two bytes are indeed _always_ RTX OSNs] This decentralized logging solution is neither complicated/hacky nor unsafe. It does however have the drawback that a single log call is replaced by one of five calls (one per stream type + undemuxable). So there is a risk that future refactorings might break the logging. We protect against that with a set of tests. Bug: b/305890678, b/423646186 Change-Id: Ic97a954d277b7088886bd95230e9b93ebd4f41c6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/432440 Reviewed-by: Björn Terelius <terelius@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Jakob Ivarsson <jakobi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46664}
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.