Added UMA logging for audio codec usage. A histogram statistic named "WebRTC.Audio.Encoder.CodecType" has been created.
Review-Url: https://codereview.webrtc.org/1967503002 Cr-Commit-Position: refs/heads/master@{#12760}
This commit is contained in:
@ -212,6 +212,7 @@ AudioEncoder::EncodedInfo AudioEncoderOpus::EncodeImpl(
|
||||
info.payload_type = config_.payload_type;
|
||||
info.send_even_if_empty = true; // Allows Opus to send empty packets.
|
||||
info.speech = (info.encoded_bytes > 0);
|
||||
info.encoder_type = CodecType::kOpus;
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user