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

Unified Diff: webrtc/modules/rtp_rtcp/include/rtp_rtcp.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
Index: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h
index 50fb35e0e4fb17102cc0b639e805ca2c6d9f03a9..9a2d8c2408d0419b26787ec7fbf3471acf35531c 100644
--- a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h
+++ b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h
@@ -594,12 +594,6 @@ class RtpRtcp : public Module {
*
* return -1 on failure else 0
*/
- // DEPRECATED. Use SendREDPayloadType below that takes output parameter
- // by pointer instead of by reference.
- // TODO(danilchap): Remove this when all callers have been updated.
- int32_t SendREDPayloadType(int8_t& payloadType) const { // NOLINT
- return SendREDPayloadType(&payloadType);
- }
virtual int32_t SendREDPayloadType(int8_t* payload_type) const = 0;
/*
* Store the audio level in dBov for header-extension-for-audio-level-
@@ -632,14 +626,6 @@ class RtpRtcp : public Module {
/*
* Get generic FEC setting
*/
- // DEPRECATED. Use GenericFECStatus below that takes output parameters
- // by pointers instead of by references.
- // TODO(danilchap): Remove this when all callers have been updated.
- void GenericFECStatus(bool& enable, // NOLINT
- uint8_t& payloadTypeRED, // NOLINT
- uint8_t& payloadTypeFEC) { // NOLINT
- GenericFECStatus(&enable, &payloadTypeRED, &payloadTypeFEC);
- }
virtual void GenericFECStatus(bool* enable,
uint8_t* payload_type_red,
uint8_t* payload_type_fec) = 0;
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698