Chromium Code Reviews| 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..55c598a40f44a1db3358071047e7b7e26e8275c6 100644 |
| --- a/webrtc/modules/rtp_rtcp/include/rtp_receiver.h |
| +++ b/webrtc/modules/rtp_rtcp/include/rtp_receiver.h |
| @@ -16,6 +16,8 @@ |
| namespace webrtc { |
| +struct CodecInst; |
| +class VideoCodec; |
|
danilchap
2016/11/23 17:12:50
maybe put VideoCodec after RTPPayloadRegistry for
magjed_webrtc
2016/11/24 09:39:40
Done.
|
| class RTPPayloadRegistry; |
| class TelephoneEventHandler { |
| @@ -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; |