Unify helpers IsRtpPacket and IsRtcpPacket
Bug: None Change-Id: Ibe942de433435d256cd6827440136936d4b274d6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/225022 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34419}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
93ce46fc63
commit
00ca0044d4
@ -15,6 +15,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "absl/base/attributes.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/rtp_headers.h"
|
||||
#include "modules/rtp_rtcp/include/rtp_header_extension_map.h"
|
||||
@ -34,6 +35,7 @@ class RtpHeaderParser {
|
||||
RtpHeaderParser(const uint8_t* rtpData, size_t rtpDataLength);
|
||||
~RtpHeaderParser();
|
||||
|
||||
ABSL_DEPRECATED("Use IsRtpPacket or IsRtcpPacket")
|
||||
bool RTCP() const;
|
||||
bool ParseRtcp(RTPHeader* header) const;
|
||||
bool Parse(RTPHeader* parsedPacket,
|
||||
|
||||
Reference in New Issue
Block a user