зеркало из https://github.com/mozilla/gecko-dev.git
Bug 951496 - Fix Stastistics typo in vie_codec. r=jesup
This commit is contained in:
Родитель
05076bc7a0
Коммит
4a0ae13401
|
@ -130,12 +130,12 @@ class WEBRTC_DLLEXPORT ViECodec {
|
|||
const bool enable) = 0;
|
||||
|
||||
// Gets the number of sent key frames and number of sent delta frames.
|
||||
virtual int GetSendCodecStastistics(const int video_channel,
|
||||
virtual int GetSendCodecStatistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const = 0;
|
||||
|
||||
// Gets the number of decoded key frames and number of decoded delta frames.
|
||||
virtual int GetReceiveCodecStastistics(const int video_channel,
|
||||
virtual int GetReceiveCodecStatistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const = 0;
|
||||
|
||||
|
|
|
@ -1625,8 +1625,8 @@ void PrintCodecStatistics(webrtc::ViECodec* vie_codec,
|
|||
std::cout << "Codec Receive statistics"
|
||||
<< std::endl;
|
||||
// Get and print the Receive Codec Statistics
|
||||
error = vie_codec->GetReceiveCodecStastistics(video_channel, key_frames,
|
||||
delta_frames);
|
||||
error = vie_codec->GetReceiveCodecStatistics(video_channel, key_frames,
|
||||
delta_frames);
|
||||
number_of_errors += ViETest::TestError(error == 0,
|
||||
"ERROR: %s at line %d",
|
||||
__FUNCTION__, __LINE__);
|
||||
|
@ -1635,8 +1635,8 @@ void PrintCodecStatistics(webrtc::ViECodec* vie_codec,
|
|||
std::cout << "Codec Send statistics"
|
||||
<< std::endl;
|
||||
// Get and print the Send Codec Statistics
|
||||
error = vie_codec->GetSendCodecStastistics(video_channel, key_frames,
|
||||
delta_frames);
|
||||
error = vie_codec->GetSendCodecStatistics(video_channel, key_frames,
|
||||
delta_frames);
|
||||
number_of_errors += ViETest::TestError(error == 0,
|
||||
"ERROR: %s at line %d",
|
||||
__FUNCTION__, __LINE__);
|
||||
|
|
|
@ -412,9 +412,9 @@ int ViECodecImpl::SetImageScaleStatus(const int video_channel,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int ViECodecImpl::GetSendCodecStastistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const {
|
||||
int ViECodecImpl::GetSendCodecStatistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const {
|
||||
WEBRTC_TRACE(kTraceApiCall, kTraceVideo,
|
||||
ViEId(shared_data_->instance_id(), video_channel),
|
||||
"%s(video_channel %d)", __FUNCTION__, video_channel);
|
||||
|
@ -437,9 +437,9 @@ int ViECodecImpl::GetSendCodecStastistics(const int video_channel,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int ViECodecImpl::GetReceiveCodecStastistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const {
|
||||
int ViECodecImpl::GetReceiveCodecStatistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const {
|
||||
WEBRTC_TRACE(kTraceApiCall, kTraceVideo,
|
||||
ViEId(shared_data_->instance_id(), video_channel),
|
||||
"%s(video_channel: %d)", __FUNCTION__,
|
||||
|
|
|
@ -43,12 +43,12 @@ class ViECodecImpl
|
|||
unsigned char config_parameters[kConfigParameterSize],
|
||||
unsigned char& config_parameters_size) const;
|
||||
virtual int SetImageScaleStatus(const int video_channel, const bool enable);
|
||||
virtual int GetSendCodecStastistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const;
|
||||
virtual int GetReceiveCodecStastistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const;
|
||||
virtual int GetSendCodecStatistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const;
|
||||
virtual int GetReceiveCodecStatistics(const int video_channel,
|
||||
unsigned int& key_frames,
|
||||
unsigned int& delta_frames) const;
|
||||
virtual int GetReceiveSideDelay(const int video_channel,
|
||||
int* delay_ms) const;
|
||||
virtual int GetCodecTargetBitrate(const int video_channel,
|
||||
|
|
Загрузка…
Ссылка в новой задаче