commit | 042bb0083898cd07920228d05e437f859becdcd4 | [log] [tgz] |
---|---|---|
author | Piotr (Peter) Slatala <psla@webrtc.org> | Wed Jan 30 22:57:12 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 31 03:00:58 2019 |
tree | 940ad972d03a4307384403e821f198792d058370 | |
parent | 287298159ffad6f892da5b3e57b4aa683d0a4c97 [diff] |
Fix RTP transport accepting invalid RTCP headers. Currently, the RtpTransport checks that the packet is either RTP or RTCP. However, the RTCP check does not verify that the packet is a valid RTP, and therefore invalid RTCP packets were allowed in the RtpTransport::OnReadPacket. This change makes sure that the test for RTCP header (IsRtcpPacket) checks that it has the valid RTP version (2). So far if the packet had the second byte that looked like RTCP, it would ignore the first byte. Bug: None Change-Id: I5d07d497b9ef609c74b6e507c5f3e19e4bf10194 Reviewed-on: https://webrtc-review.googlesource.com/c/120646 Reviewed-by: Steve Anton <steveanton@webrtc.org> Reviewed-by: Bjorn Mellem <mellem@webrtc.org> Reviewed-by: Seth Hampson <shampson@webrtc.org> Commit-Queue: Peter Slatala <psla@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26480}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.