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
This commit is contained in:
pwestin@webrtc.org 2012-04-23 08:33:18 +00:00
parent a2cd732139
commit fcbbe1f341
2 changed files with 0 additions and 31 deletions

View File

@ -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

View File

@ -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