1/*
2 *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
4 *  Use of this source code is governed by a BSD-style license
5 *  that can be found in the LICENSE file in the root of the source
6 *  tree. An additional intellectual property rights grant can be found
7 *  in the file PATENTS.  All contributing project authors may
8 *  be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef SRC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_SOURCE_BASE_PRIMITIVES_H_
12#define SRC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_SOURCE_BASE_PRIMITIVES_H_
13
14namespace webrtc {
15class VideoEngine;
16class ViEBase;
17class ViECodec;
18class ViENetwork;
19class ViERTP_RTCP;
20}
21
22// Tests a I420-to-I420 call. This test exercises the most basic WebRTC
23// functionality by training the codec interface to recognize the most common
24// codecs, and the initiating a I420 call. A video channel with a capture device
25// must be set up prior to this call.
26void TestI420CallSetup(webrtc::ViECodec* codec_interface,
27                       webrtc::VideoEngine* video_engine,
28                       webrtc::ViEBase* base_interface,
29                       webrtc::ViENetwork* network_interface,
30                       webrtc::ViERTP_RTCP* rtp_rtcp_interface,
31                       int video_channel,
32                       const char* device_name);
33
34#endif  // SRC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_SOURCE_BASE_PRIMITIVES_H_
35