Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Side by Side Diff: media/cast/test/utility/default_config.cc

Issue 184813009: Cast Streaming API end-to-end browser_test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix LoggingImplTest + REBASE Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/test/utility/default_config.h ('k') | media/cast/test/utility/in_process_receiver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « media/cast/test/utility/default_config.h ('k') | media/cast/test/utility/in_process_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698