RTPPayloadRegistry: Use SdpAudioFormat to represent audio codecs
This is needed in the general case, now that we aim to support codecs other than those built-in to WebRTC. BUG=webrtc:8159 Change-Id: I40a41252bf69ad5d4d0208e3c1e8918da7394706 Reviewed-on: https://webrtc-review.googlesource.com/5380 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20136}
This commit is contained in:
@ -36,7 +36,8 @@ class RtpReceiverImpl : public RtpReceiver {
|
||||
|
||||
virtual ~RtpReceiverImpl();
|
||||
|
||||
int32_t RegisterReceivePayload(const CodecInst& audio_codec) override;
|
||||
int32_t RegisterReceivePayload(int payload_type,
|
||||
const SdpAudioFormat& audio_format) override;
|
||||
int32_t RegisterReceivePayload(const VideoCodec& video_codec) override;
|
||||
|
||||
int32_t DeRegisterReceivePayload(const int8_t payload_type) override;
|
||||
|
||||
Reference in New Issue
Block a user