From fcbbe1f341050e5212c836430746723eb42769b6 Mon Sep 17 00:00:00 2001 From: "pwestin@webrtc.org" Date: Mon, 23 Apr 2012 08:33:18 +0000 Subject: [PATCH] Removed unused callback code from video coding test. Review URL: https://webrtc-codereview.appspot.com/504003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2086 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../video_coding/main/test/test_callbacks.cc | 12 ------------ .../video_coding/main/test/test_callbacks.h | 19 ------------------- 2 files changed, 31 deletions(-) diff --git a/src/modules/video_coding/main/test/test_callbacks.cc b/src/modules/video_coding/main/test/test_callbacks.cc index 1075aae5b..da28073cf 100644 --- a/src/modules/video_coding/main/test/test_callbacks.cc +++ b/src/modules/video_coding/main/test/test_callbacks.cc @@ -456,16 +456,4 @@ FecProtectionParams VideoProtectionCallback::KeyFecParameters() const { return key_fec_params_; } - -void -RTPFeedbackCallback::OnNetworkChanged(const WebRtc_Word32 id, - const WebRtc_UWord32 bitrateBps, - const WebRtc_UWord8 fractionLost, - const WebRtc_UWord16 roundTripTimeMs) -{ - - _vcm->SetChannelParameters(bitrateBps / 1000, fractionLost, - (WebRtc_UWord8)roundTripTimeMs); -} - } // namespace webrtc diff --git a/src/modules/video_coding/main/test/test_callbacks.h b/src/modules/video_coding/main/test/test_callbacks.h index 5c67c4c87..2c2593162 100644 --- a/src/modules/video_coding/main/test/test_callbacks.h +++ b/src/modules/video_coding/main/test/test_callbacks.h @@ -248,24 +248,5 @@ private: FecProtectionParams delta_fec_params_; FecProtectionParams key_fec_params_; }; - -// Feed back from the RTP Module callback -class RTPFeedbackCallback : public RtpVideoFeedback { - public: - RTPFeedbackCallback(VideoCodingModule* vcm) {_vcm = vcm;}; - void OnReceivedIntraFrameRequest(const WebRtc_Word32 id, - const FrameType type, - const WebRtc_UWord8 streamIdx) {}; - - void OnNetworkChanged(const WebRtc_Word32 id, - const WebRtc_UWord32 bitrateBps, - const WebRtc_UWord8 fractionLost, - const WebRtc_UWord16 roundTripTimeMs); - - private: - VideoCodingModule* _vcm; -}; - } // namespace webrtc - #endif