Index: webrtc/media/engine/fakewebrtcvoiceengine.h |
diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h |
index 33629160bc116d1139c6f9dc59e43b9c6bac1921..4aa6ea3d4380de25d3b127f750ddf3e1894a6b2d 100644 |
--- a/webrtc/media/engine/fakewebrtcvoiceengine.h |
+++ b/webrtc/media/engine/fakewebrtcvoiceengine.h |
@@ -203,18 +203,6 @@ class FakeWebRtcVoiceEngine |
int GetSendREDPayloadType(int channel) { |
return channels_[channel]->red_type; |
} |
- bool CheckPacket(int channel, const void* data, size_t len) { |
- bool result = !CheckNoPacket(channel); |
- if (result) { |
- std::string packet = channels_[channel]->packets.front(); |
- result = (packet == std::string(static_cast<const char*>(data), len)); |
- channels_[channel]->packets.pop_front(); |
- } |
- return result; |
- } |
- bool CheckNoPacket(int channel) { |
- return channels_[channel]->packets.empty(); |
- } |
void set_playout_fail_channel(int channel) { |
playout_fail_channel_ = channel; |
} |