Index: webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h |
diff --git a/webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h b/webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h |
index bcafdfb7f600f81a395fe2f88cd4b95f4e1c5e5f..c688e0c219788e48a3cf0c0b09825400fc7f230e 100644 |
--- a/webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h |
+++ b/webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h |
@@ -27,7 +27,7 @@ class RTPPayloadStrategy { |
virtual bool PayloadIsCompatible(const RtpUtility::Payload& payload, |
const uint32_t frequency, |
- const uint8_t channels, |
+ const size_t channels, |
const uint32_t rate) const = 0; |
virtual void UpdatePayloadRate(RtpUtility::Payload* payload, |
@@ -37,7 +37,7 @@ class RTPPayloadStrategy { |
const char payloadName[RTP_PAYLOAD_NAME_SIZE], |
const int8_t payloadType, |
const uint32_t frequency, |
- const uint8_t channels, |
+ const size_t channels, |
const uint32_t rate) const = 0; |
virtual int GetPayloadTypeFrequency( |
@@ -59,7 +59,7 @@ class RTPPayloadRegistry { |
const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
const int8_t payload_type, |
const uint32_t frequency, |
- const uint8_t channels, |
+ const size_t channels, |
const uint32_t rate, |
bool* created_new_payload_type); |
@@ -69,7 +69,7 @@ class RTPPayloadRegistry { |
int32_t ReceivePayloadType( |
const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
const uint32_t frequency, |
- const uint8_t channels, |
+ const size_t channels, |
const uint32_t rate, |
int8_t* payload_type) const; |
@@ -144,7 +144,7 @@ class RTPPayloadRegistry { |
const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
const size_t payload_name_length, |
const uint32_t frequency, |
- const uint8_t channels, |
+ const size_t channels, |
const uint32_t rate); |
bool IsRtxInternal(const RTPHeader& header) const; |