Make it possible to reuse RTCEventLog conversion functions.
Bug: None Change-Id: Ia030755d19f0826ee942def76c67f70312b51de9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/147267 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28705}
This commit is contained in:
committed by
Commit Bot
parent
ea27ffedbd
commit
a8010abe11
@ -220,6 +220,38 @@ class PacketView {
|
||||
size_t element_size_;
|
||||
};
|
||||
|
||||
// Conversion functions for version 2 of the wire format.
|
||||
BandwidthUsage GetRuntimeDetectorState(
|
||||
rtclog2::DelayBasedBweUpdates::DetectorState detector_state);
|
||||
|
||||
ProbeFailureReason GetRuntimeProbeFailureReason(
|
||||
rtclog2::BweProbeResultFailure::FailureReason failure);
|
||||
|
||||
DtlsTransportState GetRuntimeDtlsTransportState(
|
||||
rtclog2::DtlsTransportStateEvent::DtlsTransportState state);
|
||||
|
||||
IceCandidatePairConfigType GetRuntimeIceCandidatePairConfigType(
|
||||
rtclog2::IceCandidatePairConfig::IceCandidatePairConfigType type);
|
||||
|
||||
IceCandidateType GetRuntimeIceCandidateType(
|
||||
rtclog2::IceCandidatePairConfig::IceCandidateType type);
|
||||
|
||||
IceCandidatePairProtocol GetRuntimeIceCandidatePairProtocol(
|
||||
rtclog2::IceCandidatePairConfig::Protocol protocol);
|
||||
|
||||
IceCandidatePairAddressFamily GetRuntimeIceCandidatePairAddressFamily(
|
||||
rtclog2::IceCandidatePairConfig::AddressFamily address_family);
|
||||
|
||||
IceCandidateNetworkType GetRuntimeIceCandidateNetworkType(
|
||||
rtclog2::IceCandidatePairConfig::NetworkType network_type);
|
||||
|
||||
IceCandidatePairEventType GetRuntimeIceCandidatePairEventType(
|
||||
rtclog2::IceCandidatePairEvent::IceCandidatePairEventType type);
|
||||
|
||||
std::vector<RtpExtension> GetRuntimeRtpHeaderExtensionConfig(
|
||||
const rtclog2::RtpHeaderExtensionConfig& proto_header_extensions);
|
||||
// End of conversion functions.
|
||||
|
||||
class ParsedRtcEventLog {
|
||||
public:
|
||||
enum class MediaType { ANY, AUDIO, VIDEO, DATA };
|
||||
|
||||
Reference in New Issue
Block a user