Update talk to 58157731.
R=wu@webrtc.org TBR=wu@webrc.org Review URL: https://webrtc-codereview.appspot.com/5339005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5282 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
6811b6e308
commit
62451dcba0
@ -51,6 +51,8 @@ const char StatsReport::kStatsValueNameAvgEncodeMs[] = "googAvgEncodeMs";
|
||||
const char StatsReport::kStatsValueNameBucketDelay[] = "googBucketDelay";
|
||||
const char StatsReport::kStatsValueNameBytesReceived[] = "bytesReceived";
|
||||
const char StatsReport::kStatsValueNameBytesSent[] = "bytesSent";
|
||||
const char StatsReport::kStatsValueNameBandwidthLimitedResolution[] =
|
||||
"googBandwidthLimitedResolution";
|
||||
const char StatsReport::kStatsValueNameCaptureJitterMs[] =
|
||||
"googCaptureJitterMs";
|
||||
const char StatsReport::kStatsValueNameCaptureQueueDelayMsPerS[] =
|
||||
@ -59,6 +61,8 @@ const char StatsReport::kStatsValueNameChannelId[] = "googChannelId";
|
||||
const char StatsReport::kStatsValueNameCodecName[] = "googCodecName";
|
||||
const char StatsReport::kStatsValueNameComponent[] = "googComponent";
|
||||
const char StatsReport::kStatsValueNameContentName[] = "googContentName";
|
||||
const char StatsReport::kStatsValueNameCpuLimitedResolution[] =
|
||||
"googCpuLimitedResolution";
|
||||
const char StatsReport::kStatsValueNameDer[] = "googDerBase64";
|
||||
// Echo metrics from the audio processing module.
|
||||
const char StatsReport::kStatsValueNameEchoCancellationQualityMin[] =
|
||||
@ -135,6 +139,8 @@ const char StatsReport::kStatsValueNameTransportType[] = "googTransportType";
|
||||
const char StatsReport::kStatsValueNameTrackId[] = "googTrackId";
|
||||
const char StatsReport::kStatsValueNameTypingNoiseState[] =
|
||||
"googTypingNoiseState";
|
||||
const char StatsReport::kStatsValueNameViewLimitedResolution[] =
|
||||
"googViewLimitedResolution";
|
||||
const char StatsReport::kStatsValueNameWritable[] = "googWritable";
|
||||
|
||||
const char StatsReport::kStatsReportTypeSession[] = "googLibjingleSession";
|
||||
@ -299,6 +305,12 @@ void ExtractStats(const cricket::VideoSenderInfo& info, StatsReport* report) {
|
||||
info.framerate_sent);
|
||||
report->AddValue(StatsReport::kStatsValueNameRtt, info.rtt_ms);
|
||||
report->AddValue(StatsReport::kStatsValueNameCodecName, info.codec_name);
|
||||
report->AddBoolean(StatsReport::kStatsValueNameCpuLimitedResolution,
|
||||
(info.adapt_reason & 0x1) > 0);
|
||||
report->AddBoolean(StatsReport::kStatsValueNameBandwidthLimitedResolution,
|
||||
(info.adapt_reason & 0x2) > 0);
|
||||
report->AddBoolean(StatsReport::kStatsValueNameViewLimitedResolution,
|
||||
(info.adapt_reason & 0x4) > 0);
|
||||
report->AddValue(StatsReport::kStatsValueNameAvgEncodeMs, info.avg_encode_ms);
|
||||
report->AddValue(StatsReport::kStatsValueNameCaptureJitterMs,
|
||||
info.capture_jitter_ms);
|
||||
|
@ -133,6 +133,9 @@ class StatsReport {
|
||||
static const char kStatsValueNameCaptureJitterMs[];
|
||||
static const char kStatsValueNameCaptureQueueDelayMsPerS[];
|
||||
static const char kStatsValueNameCodecName[];
|
||||
static const char kStatsValueNameBandwidthLimitedResolution[];
|
||||
static const char kStatsValueNameCpuLimitedResolution[];
|
||||
static const char kStatsValueNameViewLimitedResolution[];
|
||||
static const char kStatsValueNameEchoCancellationQualityMin[];
|
||||
static const char kStatsValueNameEchoDelayMedian[];
|
||||
static const char kStatsValueNameEchoDelayStdDev[];
|
||||
|
@ -38,7 +38,7 @@ namespace talk_base {
|
||||
// This structure will have the information about when packet is actually
|
||||
// received by socket.
|
||||
struct PacketTime {
|
||||
PacketTime() : timestamp(0), not_before(0) {}
|
||||
PacketTime() : timestamp(-1), not_before(-1) {}
|
||||
PacketTime(int64 timestamp, int64 not_before)
|
||||
: timestamp(timestamp), not_before(not_before) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user