Add test CallPerfTest.PlaysOutAudioAndVideoInSyncWithoutClockDrift
It's useful to have one test without clock drift, to distinguish between errors breaking handling of drift, and errors breaking A/V sync generally. Bug: None Change-Id: Ibc1bdab142ef37cb37171b51c00c556907a5ba6e Reviewed-on: https://webrtc-review.googlesource.com/93283 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24239}
This commit is contained in:
@ -296,6 +296,12 @@ void CallPerfTest::TestAudioVideoSync(FecMode fec,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithoutClockDrift) {
|
||||||
|
TestAudioVideoSync(FecMode::kOff, CreateOrder::kAudioFirst,
|
||||||
|
DriftingClock::kNoDrift, DriftingClock::kNoDrift,
|
||||||
|
DriftingClock::kNoDrift, "_video_no_drift");
|
||||||
|
}
|
||||||
|
|
||||||
TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithVideoNtpDrift) {
|
TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithVideoNtpDrift) {
|
||||||
TestAudioVideoSync(FecMode::kOff, CreateOrder::kAudioFirst,
|
TestAudioVideoSync(FecMode::kOff, CreateOrder::kAudioFirst,
|
||||||
DriftingClock::PercentsFaster(10.0f),
|
DriftingClock::PercentsFaster(10.0f),
|
||||||
|
Reference in New Issue
Block a user