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

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

Issue 2808743002: Remove deprecated RTPPayloadStrategy (Closed)
Patch Set: Created 3 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 | no next file » | 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 029de5dfcc06aa5a655aa6259705be6a80727c82..e54e8c282335e3e9e3a7cb9f636a3c81042baeb8 100644
--- a/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
+++ b/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
@@ -12,13 +12,10 @@
#define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_PAYLOAD_REGISTRY_H_
#include <map>
-#include <memory>
#include <set>
#include "webrtc/api/audio_codecs/audio_format.h"
#include "webrtc/base/criticalsection.h"
-#include "webrtc/base/deprecation.h"
-#include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
namespace webrtc {
@@ -26,21 +23,10 @@ namespace webrtc {
struct CodecInst;
class VideoCodec;
-// TODO(magjed): Remove once external code is updated.
-class RTPPayloadStrategy {
- public:
- static RTPPayloadStrategy* CreateStrategy(bool handling_audio) {
- return nullptr;
- }
-};
-
class RTPPayloadRegistry {
public:
RTPPayloadRegistry();
~RTPPayloadRegistry();
- // TODO(magjed): Remove once external code is updated.
- explicit RTPPayloadRegistry(RTPPayloadStrategy* rtp_payload_strategy)
- : RTPPayloadRegistry() {}
// TODO(magjed): Split RTPPayloadRegistry into separate Audio and Video class
// and simplify the code. http://crbug/webrtc/6743.
@@ -119,8 +105,6 @@ class RTPPayloadRegistry {
return last_received_media_payload_type_;
}
- RTC_DEPRECATED void set_use_rtx_payload_mapping_on_restore(bool val) {}
-
private:
// Prunes the payload type map of the specific payload type, if it exists.
void DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698