Expose adaptive_ptime from iOS SDK.

Bug: None
Change-Id: I48fd0937f51dc972b3eccd66f99ae80378e32fe1
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/214968
Commit-Queue: Yura Yaroshevich <yura.yaroshevich@gmail.com>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33766}
This commit is contained in:
Yura Yaroshevich
2021-04-14 16:26:14 +03:00
committed by Commit Bot
parent 7fa8d46516
commit d46a174f0c
3 changed files with 12 additions and 0 deletions

View File

@ -704,6 +704,11 @@ bool AudioEncoderOpusImpl::RecreateEncoderInstance(
}
void AudioEncoderOpusImpl::SetFrameLength(int frame_length_ms) {
if (next_frame_length_ms_ != frame_length_ms) {
RTC_LOG(LS_VERBOSE) << "Update Opus frame length "
<< "from " << next_frame_length_ms_ << " ms "
<< "to " << frame_length_ms << " ms.";
}
next_frame_length_ms_ = frame_length_ms;
}