Delete deprecated version of AudioPacketizationCallback::SendData.
Followup to https://webrtc-review.googlesource.com/c/src/+/134212
Bug: webrtc:6471
Change-Id: I5f2be134bddf8aada2b9c94b6d986c26a6fd23ad
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134309
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27797}
diff --git a/modules/audio_coding/include/audio_coding_module.h b/modules/audio_coding/include/audio_coding_module.h
index 17ad71d..61fa541 100644
--- a/modules/audio_coding/include/audio_coding_module.h
+++ b/modules/audio_coding/include/audio_coding_module.h
@@ -30,7 +30,6 @@
class AudioDecoder;
class AudioEncoder;
class AudioFrame;
-class RTPFragmentationHeader;
struct RTPHeader;
#define WEBRTC_10MS_PCM_AUDIO 960 // 16 bits super wideband 48 kHz
@@ -44,23 +43,7 @@
uint8_t payload_type,
uint32_t timestamp,
const uint8_t* payload_data,
- size_t payload_len_bytes) {
- return SendData(frame_type, payload_type, timestamp, payload_data,
- payload_len_bytes, nullptr);
- }
-
- // TODO(bugs.webrtc.org/6471) Deprecated, delete as soon as downstream
- // implementations are updated. Then make above method pure virtual, and
- // delete forward declaration of RTPFragmentationHeader.
- virtual int32_t SendData(AudioFrameType frame_type,
- uint8_t payload_type,
- uint32_t timestamp,
- const uint8_t* payload_data,
- size_t payload_len_bytes,
- const RTPFragmentationHeader* fragmentation) {
- return SendData(frame_type, payload_type, timestamp, payload_data,
- payload_len_bytes);
- }
+ size_t payload_len_bytes) = 0;
};
// Callback class used for reporting VAD decision