| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COBALT_MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ |
| #define COBALT_MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ |
| |
| #include "media/cast/cast_config.h" |
| |
| namespace media { |
| namespace cast { |
| |
| // Returns a FrameReceiverConfig initialized to "good-to-go" values. This |
| // specifies 48 kHz, 2-channel Opus-coded audio, with standard ssrc's, payload |
| // type, and a dummy name. |
| FrameReceiverConfig GetDefaultAudioReceiverConfig(); |
| |
| // Returns a FrameReceiverConfig initialized to "good-to-go" values. This |
| // specifies VP8-coded video, with standard ssrc's, payload type, and a dummy |
| // name. |
| FrameReceiverConfig GetDefaultVideoReceiverConfig(); |
| |
| // Returns a FrameSenderConfig initialized to default values. This means |
| // 48 kHz, 2-channel Opus-coded audio. Default values for SSRCs and payload |
| // type. |
| FrameSenderConfig GetDefaultAudioSenderConfig(); |
| |
| // Returns a FrameSenderConfig initialized to default values. This means |
| // 30 Hz VP8 coded code. Default values for SSRCs and payload type. |
| FrameSenderConfig GetDefaultVideoSenderConfig(); |
| |
| // Returns a callback that does nothing. |
| CreateVideoEncodeAcceleratorCallback |
| CreateDefaultVideoEncodeAcceleratorCallback(); |
| |
| // Returns a callback that does nothing. |
| CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback(); |
| |
| } // namespace cast |
| } // namespace media |
| |
| #endif // COBALT_MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ |