Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h

Issue 1859273003: Remove deprecated functions in rtp_rtcp module (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h b/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
index 6ce643496d0105179869b31fa2b1f4ea43a523d7..4e2d2a26a4af78a233c472fc5924997dff463cba 100644
--- a/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
+++ b/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
@@ -86,15 +86,6 @@ class RTPPayloadRegistry {
bool IsRtx(const RTPHeader& header) const;
- // DEPRECATED. Use RestoreOriginalPacket below that takes a uint8_t*
- // restored_packet, instead of a uint8_t**.
- // TODO(noahric): Remove this when all callers have been updated.
- bool RestoreOriginalPacket(uint8_t** restored_packet,
- const uint8_t* packet,
- size_t* packet_length,
- uint32_t original_ssrc,
- const RTPHeader& header) const;
-
bool RestoreOriginalPacket(uint8_t* restored_packet,
const uint8_t* packet,
size_t* packet_length,
@@ -111,15 +102,6 @@ class RTPPayloadRegistry {
int GetPayloadTypeFrequency(uint8_t payload_type) const;
- // DEPRECATED. Use PayloadTypeToPayload below that returns const Payload*
- // instead of taking output parameter.
- // TODO(danilchap): Remove this when all callers have been updated.
- bool PayloadTypeToPayload(const uint8_t payload_type,
- RtpUtility::Payload*& payload) const { // NOLINT
- payload =
- const_cast<RtpUtility::Payload*>(PayloadTypeToPayload(payload_type));
- return payload != nullptr;
- }
const RtpUtility::Payload* PayloadTypeToPayload(uint8_t payload_type) const;
void ResetLastReceivedPayloadTypes() {
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698