| Index: webrtc/modules/rtp_rtcp/include/rtp_receiver.h
|
| diff --git a/webrtc/modules/rtp_rtcp/include/rtp_receiver.h b/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
|
| index 9db1c63da78976d554d8530e916f017cf99a66be..b719ebea900ab1fb445f3f4efbcb123b90ed2eb1 100644
|
| --- a/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
|
| +++ b/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
|
| @@ -16,7 +16,9 @@
|
|
|
| namespace webrtc {
|
|
|
| +struct CodecInst;
|
| class RTPPayloadRegistry;
|
| +class VideoCodec;
|
|
|
| class TelephoneEventHandler {
|
| public:
|
| @@ -56,12 +58,7 @@ class RtpReceiver {
|
|
|
| // Registers a receive payload in the payload registry and notifies the media
|
| // receiver strategy.
|
| - virtual int32_t RegisterReceivePayload(
|
| - const char payload_name[RTP_PAYLOAD_NAME_SIZE],
|
| - const int8_t payload_type,
|
| - const uint32_t frequency,
|
| - const size_t channels,
|
| - const uint32_t rate) = 0;
|
| + virtual int32_t RegisterReceivePayload(const CodecInst& audio_codec) = 0;
|
|
|
| // De-registers |payload_type| from the payload registry.
|
| virtual int32_t DeRegisterReceivePayload(const int8_t payload_type) = 0;
|
|
|