| Index: webrtc/modules/rtp_rtcp/test/testAPI/test_api.h
|
| diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h
|
| index 0ec1cfb63ae62be52f065200ec5f96b88d0baf8f..8397e632071aa7d0e171628886502785eeaa5a77 100644
|
| --- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h
|
| +++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.h
|
| @@ -17,12 +17,13 @@
|
| #include "webrtc/modules/rtp_rtcp/interface/rtp_receiver.h"
|
| #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h"
|
| #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h"
|
| +#include "webrtc/transport.h"
|
|
|
| namespace webrtc {
|
|
|
| // This class sends all its packet straight to the provided RtpRtcp module.
|
| // with optional packet loss.
|
| -class LoopBackTransport : public webrtc::Transport {
|
| +class LoopBackTransport : public Transport {
|
| public:
|
| LoopBackTransport()
|
| : count_(0),
|
| @@ -35,8 +36,8 @@ class LoopBackTransport : public webrtc::Transport {
|
| RtpReceiver* receiver,
|
| ReceiveStatistics* receive_statistics);
|
| void DropEveryNthPacket(int n);
|
| - int SendPacket(const void* data, size_t len) override;
|
| - int SendRTCPPacket(const void* data, size_t len) override;
|
| + bool SendRtp(const uint8_t* data, size_t len) override;
|
| + bool SendRtcp(const uint8_t* data, size_t len) override;
|
|
|
| private:
|
| int count_;
|
|
|