[PCLF] Add ToString method to VideoDumpOptions
Bug: None Change-Id: Idc5e72ba0706bdd9b48983f8f4d2f35255bd9ba4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/272551 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Auto-Submit: Artem Titov <titovartem@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37865}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
d65dc979b1
commit
ae0ec3a5d9
@ -175,6 +175,15 @@ absl::optional<std::string> PeerConnectionE2EQualityTestFixture::
|
||||
return GetOutputDumpFileName(stream_label, receiver) + ".frame_ids.txt";
|
||||
}
|
||||
|
||||
std::string PeerConnectionE2EQualityTestFixture::VideoDumpOptions::ToString()
|
||||
const {
|
||||
rtc::StringBuilder out;
|
||||
out << "{ output_directory_=" << output_directory_
|
||||
<< ", sampling_modulo_=" << sampling_modulo_
|
||||
<< ", export_frame_ids_=" << export_frame_ids_ << " }";
|
||||
return out.Release();
|
||||
}
|
||||
|
||||
PeerConnectionE2EQualityTestFixture::VideoConfig::VideoConfig(
|
||||
const VideoResolution& resolution)
|
||||
: width(resolution.width()),
|
||||
|
||||
@ -262,6 +262,8 @@ class PeerConnectionE2EQualityTestFixture {
|
||||
absl::string_view stream_label,
|
||||
absl::string_view receiver) const;
|
||||
|
||||
std::string ToString() const;
|
||||
|
||||
private:
|
||||
std::string output_directory_;
|
||||
int sampling_modulo_ = 1;
|
||||
|
||||
Reference in New Issue
Block a user