OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "media/cast/test/utility/default_config.h" |
| 6 |
| 7 #include "media/cast/transport/cast_transport_config.h" |
| 8 |
| 9 namespace media { |
| 10 namespace cast { |
| 11 |
| 12 AudioReceiverConfig GetDefaultAudioReceiverConfig() { |
| 13 AudioReceiverConfig config; |
| 14 config.feedback_ssrc = 1; |
| 15 config.incoming_ssrc = 2; |
| 16 config.rtp_payload_type = 127; |
| 17 config.rtcp_c_name = "audio_receiver@a.b.c.d"; |
| 18 config.use_external_decoder = false; |
| 19 config.frequency = 48000; |
| 20 config.channels = 2; |
| 21 config.codec = media::cast::transport::kOpus; |
| 22 return config; |
| 23 } |
| 24 |
| 25 VideoReceiverConfig GetDefaultVideoReceiverConfig() { |
| 26 VideoReceiverConfig config; |
| 27 config.feedback_ssrc = 12; |
| 28 config.incoming_ssrc = 11; |
| 29 config.rtp_payload_type = 96; |
| 30 config.rtcp_c_name = "video_receiver@a.b.c.d"; |
| 31 config.use_external_decoder = false; |
| 32 config.codec = media::cast::transport::kVp8; |
| 33 return config; |
| 34 } |
| 35 |
| 36 } // namespace cast |
| 37 } // namespace media |
OLD | NEW |