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
@ -13,11 +13,6 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
bool RtpHeaderParser::IsRtcp(const uint8_t* packet, size_t length) {
|
||||
RtpUtility::RtpHeaderParser rtp_parser(packet, length);
|
||||
return rtp_parser.RTCP();
|
||||
}
|
||||
|
||||
absl::optional<uint32_t> RtpHeaderParser::GetSsrc(const uint8_t* packet,
|
||||
size_t length) {
|
||||
RtpUtility::RtpHeaderParser rtp_parser(packet, length);
|
||||
|
||||
Reference in New Issue
Block a user