Add comments to MultiCodecReceiveTest.
Follow up to https://webrtc-review.googlesource.com/c/src/+/153880 Bug: none Change-Id: If52e2ba638cc463f55330d5d5db1e1e566231562 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/154349 Reviewed-by: Yves Gerey <yvesg@google.com> Commit-Queue: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29294}
This commit is contained in:
@ -115,7 +115,7 @@ class FrameObserver : public test::RtpRtcpObserver,
|
||||
}
|
||||
|
||||
rtc::CriticalSection crit_;
|
||||
absl::optional<uint32_t> last_timestamp_;
|
||||
absl::optional<uint32_t> last_timestamp_; // Only accessed from pacer thread.
|
||||
absl::optional<uint8_t> expected_payload_type_ RTC_GUARDED_BY(crit_);
|
||||
int num_sent_frames_ RTC_GUARDED_BY(crit_) = 0;
|
||||
int num_rendered_frames_ RTC_GUARDED_BY(crit_) = 0;
|
||||
@ -212,6 +212,7 @@ void MultiCodecReceiveTest::RunTestWithCodecs(
|
||||
ConfigureEncoder(configs[0]);
|
||||
CreateMatchingReceiveConfigs(receive_transport_.get());
|
||||
video_receive_configs_[0].renderer = &observer_;
|
||||
// Disable to avoid post-decode frame dropping in VideoRenderFrames.
|
||||
video_receive_configs_[0].enable_prerenderer_smoothing = false;
|
||||
ConfigureDecoders(configs);
|
||||
CreateVideoStreams();
|
||||
|
Reference in New Issue
Block a user