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:
@ -456,16 +456,4 @@ FecProtectionParams VideoProtectionCallback::KeyFecParameters() const
|
|||||||
{
|
{
|
||||||
return key_fec_params_;
|
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
|
} // namespace webrtc
|
||||||
|
@ -248,24 +248,5 @@ private:
|
|||||||
FecProtectionParams delta_fec_params_;
|
FecProtectionParams delta_fec_params_;
|
||||||
FecProtectionParams key_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
|
} // namespace webrtc
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user