2013-08-20 13:14:07 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef WEBRTC_VIDEO_ENGINE_TEST_COMMON_NULL_TRANSPORT_H_
|
|
|
|
|
#define WEBRTC_VIDEO_ENGINE_TEST_COMMON_NULL_TRANSPORT_H_
|
|
|
|
|
|
2013-10-28 16:32:01 +00:00
|
|
|
#include "webrtc/transport.h"
|
2013-08-20 13:14:07 +00:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
|
|
|
|
class PacketReceiver;
|
|
|
|
|
|
|
|
|
|
namespace test {
|
|
|
|
|
class NullTransport : public newapi::Transport {
|
|
|
|
|
public:
|
2013-11-20 12:17:04 +00:00
|
|
|
virtual bool SendRtp(const uint8_t* packet, size_t length) OVERRIDE;
|
|
|
|
|
virtual bool SendRtcp(const uint8_t* packet, size_t length) OVERRIDE;
|
2013-08-20 13:14:07 +00:00
|
|
|
};
|
|
|
|
|
} // namespace test
|
|
|
|
|
} // namespace webrtc
|
|
|
|
|
|
|
|
|
|
#endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_NULL_TRANSPORT_H_
|