| Index: webrtc/modules/audio_coding/neteq/include/neteq.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/include/neteq.h b/webrtc/modules/audio_coding/neteq/include/neteq.h
|
| index 8520905b1097b1e6e0c13b7ce57dcfd8ee58275d..5b17e128d8f8bd1b8bcef3f2f6248fcad41b5351 100644
|
| --- a/webrtc/modules/audio_coding/neteq/include/neteq.h
|
| +++ b/webrtc/modules/audio_coding/neteq/include/neteq.h
|
| @@ -178,6 +178,11 @@ class NetEq {
|
| const std::string& codec_name,
|
| uint8_t rtp_payload_type) = 0;
|
|
|
| + // Associates |rtp_payload_type| with the given codec, which NetEq will
|
| + // instantiate when it needs it. Returns true iff successful.
|
| + virtual bool RegisterPayloadType(int rtp_payload_type,
|
| + const SdpAudioFormat& audio_format) = 0;
|
| +
|
| // Removes |rtp_payload_type| from the codec database. Returns 0 on success,
|
| // -1 on failure.
|
| virtual int RemovePayloadType(uint8_t rtp_payload_type) = 0;
|
|
|