This sets up API to release OutputSurface from LTHClient.
[chromium-blink-merge.git] / media / cast / test / utility / default_config.h
blob2cc52a7a72992b84340a4d0a2b7a959c368c61c0
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_
6 #define MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_
8 #include "media/cast/cast_config.h"
10 namespace media {
11 namespace cast {
13 // Returns a FrameReceiverConfig initialized to "good-to-go" values. This
14 // specifies 48 kHz, 2-channel Opus-coded audio, with standard ssrc's, payload
15 // type, and a dummy name.
16 FrameReceiverConfig GetDefaultAudioReceiverConfig();
18 // Returns a FrameReceiverConfig initialized to "good-to-go" values. This
19 // specifies VP8-coded video, with standard ssrc's, payload type, and a dummy
20 // name.
21 FrameReceiverConfig GetDefaultVideoReceiverConfig();
23 // Returns a AudioSenderConfig initialized to default values. This means
24 // 48 kHz, 2-channel Opus-coded audio. Default values for SSRCs and payload
25 // type.
26 AudioSenderConfig GetDefaultAudioSenderConfig();
28 // Returns a VideoSenderConfig initialized to default values. This means
29 // 30 Hz VP8 coded code. Default values for SSRCs and payload type.
30 VideoSenderConfig GetDefaultVideoSenderConfig();
32 // Returns a callback that does nothing.
33 CreateVideoEncodeAcceleratorCallback
34 CreateDefaultVideoEncodeAcceleratorCallback();
36 // Returns a callback that does nothing.
37 CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback();
39 } // namespace cast
40 } // namespace media
42 #endif // MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_