Rename NetworkPriority to just Priority
This matches the web API more, since the equivalent type there is named
RTCPriorityType.
Bug: webrtc:5658
Change-Id: I301fed8319f7e582b558fe7cd0deee1290708c4c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169040
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Taylor <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30613}
diff --git a/api/rtp_parameters.h b/api/rtp_parameters.h
index 94ce00d..d9d4d5a 100644
--- a/api/rtp_parameters.h
+++ b/api/rtp_parameters.h
@@ -92,7 +92,7 @@
RTC_EXPORT extern const double kDefaultBitratePriority;
// TODO(deadbeef): Switch to an enum class.
-struct RTC_EXPORT NetworkPriority {
+struct RTC_EXPORT Priority {
static const double kVeryLow;
static const double kLow;
static const double kMedium;
@@ -401,7 +401,7 @@
// we follow chromium's translation of the allowed string enum values for
// this field to 1.0, 0.5, et cetera, similar to bitrate_priority above.
// TODO(http://crbug.com/webrtc/8630): Implement this per encoding parameter.
- double network_priority = NetworkPriority::kLow;
+ double network_priority = Priority::kLow;
// If set, this represents the Transport Independent Application Specific
// maximum bandwidth defined in RFC3890. If unset, there is no maximum