Minor type fix in RTC event logging for probing events.
Bug: webrtc:8111 Change-Id: I61cd5917c62c72571f3318411cb03b7ee74ec4cf Reviewed-on: https://webrtc-review.googlesource.com/78940 Reviewed-by: Elad Alon <eladalon@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23399}
This commit is contained in:

committed by
Commit Bot

parent
1388b30661
commit
d7a076cc8e
@ -12,10 +12,10 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
RtcEventProbeClusterCreated::RtcEventProbeClusterCreated(int id,
|
||||
int bitrate_bps,
|
||||
int min_probes,
|
||||
int min_bytes)
|
||||
RtcEventProbeClusterCreated::RtcEventProbeClusterCreated(int32_t id,
|
||||
int32_t bitrate_bps,
|
||||
uint32_t min_probes,
|
||||
uint32_t min_bytes)
|
||||
: id_(id),
|
||||
bitrate_bps_(bitrate_bps),
|
||||
min_probes_(min_probes),
|
||||
|
@ -17,20 +17,20 @@ namespace webrtc {
|
||||
|
||||
class RtcEventProbeClusterCreated final : public RtcEvent {
|
||||
public:
|
||||
RtcEventProbeClusterCreated(int id,
|
||||
int bitrate_bps,
|
||||
int min_probes,
|
||||
int min_bytes);
|
||||
RtcEventProbeClusterCreated(int32_t id,
|
||||
int32_t bitrate_bps,
|
||||
uint32_t min_probes,
|
||||
uint32_t min_bytes);
|
||||
~RtcEventProbeClusterCreated() override = default;
|
||||
|
||||
Type GetType() const override;
|
||||
|
||||
bool IsConfigEvent() const override;
|
||||
|
||||
const int id_;
|
||||
const int bitrate_bps_;
|
||||
const int min_probes_;
|
||||
const int min_bytes_;
|
||||
const int32_t id_;
|
||||
const int32_t bitrate_bps_;
|
||||
const uint32_t min_probes_;
|
||||
const uint32_t min_bytes_;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
@ -13,7 +13,7 @@
|
||||
namespace webrtc {
|
||||
|
||||
RtcEventProbeResultFailure::RtcEventProbeResultFailure(
|
||||
int id,
|
||||
int32_t id,
|
||||
ProbeFailureReason failure_reason)
|
||||
: id_(id), failure_reason_(failure_reason) {}
|
||||
|
||||
|
@ -24,14 +24,14 @@ enum class ProbeFailureReason {
|
||||
|
||||
class RtcEventProbeResultFailure final : public RtcEvent {
|
||||
public:
|
||||
RtcEventProbeResultFailure(int id, ProbeFailureReason failure_reason);
|
||||
RtcEventProbeResultFailure(int32_t id, ProbeFailureReason failure_reason);
|
||||
~RtcEventProbeResultFailure() override = default;
|
||||
|
||||
Type GetType() const override;
|
||||
|
||||
bool IsConfigEvent() const override;
|
||||
|
||||
const int id_;
|
||||
const int32_t id_;
|
||||
const ProbeFailureReason failure_reason_;
|
||||
};
|
||||
|
||||
|
@ -12,7 +12,8 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
RtcEventProbeResultSuccess::RtcEventProbeResultSuccess(int id, int bitrate_bps)
|
||||
RtcEventProbeResultSuccess::RtcEventProbeResultSuccess(int32_t id,
|
||||
int32_t bitrate_bps)
|
||||
: id_(id), bitrate_bps_(bitrate_bps) {}
|
||||
|
||||
RtcEvent::Type RtcEventProbeResultSuccess::GetType() const {
|
||||
|
@ -17,15 +17,15 @@ namespace webrtc {
|
||||
|
||||
class RtcEventProbeResultSuccess final : public RtcEvent {
|
||||
public:
|
||||
RtcEventProbeResultSuccess(int id, int bitrate_bps);
|
||||
RtcEventProbeResultSuccess(int32_t id, int32_t bitrate_bps);
|
||||
~RtcEventProbeResultSuccess() override = default;
|
||||
|
||||
Type GetType() const override;
|
||||
|
||||
bool IsConfigEvent() const override;
|
||||
|
||||
const int id_;
|
||||
const int bitrate_bps_;
|
||||
const int32_t id_;
|
||||
const int32_t bitrate_bps_;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
Reference in New Issue
Block a user