Add a couple of logs.

Bug: webrtc:8963
Change-Id: I462b0fe493306429fdec499f1324f06a80ae17ac
Reviewed-on: https://webrtc-review.googlesource.com/59681
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Ying Wang <yinwa@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22293}
This commit is contained in:
Ying Wang
2018-03-05 15:44:23 +01:00
committed by Commit Bot
parent dcb4cd1085
commit 012b7e7473
2 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,8 @@ uint8_t BitrateAllocator::GetTransmissionMaxBitrateMultiplier() {
.c_str(),
nullptr, 10);
if (multiplier > 0 && multiplier <= kTransmissionMaxBitrateMultiplier) {
RTC_LOG(LS_INFO) << "TransmissionMaxBitrateMultiplier is set to "
<< multiplier;
return static_cast<uint8_t>(multiplier);
}
return kTransmissionMaxBitrateMultiplier;

View File

@ -727,6 +727,9 @@ webrtc::VideoSendStream* Call::CreateVideoSendStream(
webrtc::VideoSendStream* Call::CreateVideoSendStream(
webrtc::VideoSendStream::Config config,
VideoEncoderConfig encoder_config) {
if (config_.fec_controller_factory) {
RTC_LOG(LS_INFO) << "External FEC Controller will be used.";
}
std::unique_ptr<FecController> fec_controller =
config_.fec_controller_factory
? config_.fec_controller_factory->CreateFecController()