OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ | 5 #ifndef MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ |
6 #define MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ | 6 #define MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ |
7 | 7 |
8 #include "media/cast/cast_config.h" | 8 #include "media/cast/cast_config.h" |
9 | 9 |
10 namespace media { | 10 namespace media { |
11 namespace cast { | 11 namespace cast { |
12 | 12 |
13 // Returns an AudioReceiverConfig initialized to "good-to-go" values. This | 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 | 14 // specifies 48 kHz, 2-channel Opus-coded audio, with standard ssrc's, payload |
15 // type, and a dummy name. | 15 // type, and a dummy name. |
16 AudioReceiverConfig GetDefaultAudioReceiverConfig(); | 16 FrameReceiverConfig GetDefaultAudioReceiverConfig(); |
17 | 17 |
18 // Returns a VideoReceiverConfig initialized to "good-to-go" values. This | 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 | 19 // specifies VP8-coded video, with standard ssrc's, payload type, and a dummy |
20 // name. | 20 // name. |
21 VideoReceiverConfig GetDefaultVideoReceiverConfig(); | 21 FrameReceiverConfig GetDefaultVideoReceiverConfig(); |
22 | 22 |
23 // Returns a callback that does nothing. | 23 // Returns a callback that does nothing. |
24 CreateVideoEncodeAcceleratorCallback | 24 CreateVideoEncodeAcceleratorCallback |
25 CreateDefaultVideoEncodeAcceleratorCallback(); | 25 CreateDefaultVideoEncodeAcceleratorCallback(); |
26 | 26 |
27 // Returns a callback that does nothing. | 27 // Returns a callback that does nothing. |
28 CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback(); | 28 CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback(); |
29 | 29 |
30 } // namespace cast | 30 } // namespace cast |
31 } // namespace media | 31 } // namespace media |
32 | 32 |
33 #endif // MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ | 33 #endif // MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ |
OLD | NEW |