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

Side by Side Diff: media/cast/cast_config.h

Issue 1484403002: cast: Support for low-latency interactive mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years 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
« no previous file with comments | « media/capture/content/video_capture_oracle.h ('k') | media/cast/sender/audio_sender.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CAST_CONFIG_H_ 5 #ifndef MEDIA_CAST_CAST_CONFIG_H_
6 #define MEDIA_CAST_CAST_CONFIG_H_ 6 #define MEDIA_CAST_CAST_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // The total amount of time between a frame's capture/recording on the sender 68 // The total amount of time between a frame's capture/recording on the sender
69 // and its playback on the receiver (i.e., shown to a user). This should be 69 // and its playback on the receiver (i.e., shown to a user). This should be
70 // set to a value large enough to give the system sufficient time to encode, 70 // set to a value large enough to give the system sufficient time to encode,
71 // transmit/retransmit, receive, decode, and render; given its run-time 71 // transmit/retransmit, receive, decode, and render; given its run-time
72 // environment (sender/receiver hardware performance, network conditions, 72 // environment (sender/receiver hardware performance, network conditions,
73 // etc.). 73 // etc.).
74 base::TimeDelta min_playout_delay; 74 base::TimeDelta min_playout_delay;
75 base::TimeDelta max_playout_delay; 75 base::TimeDelta max_playout_delay;
76 76
77 // Starting playout delay when streaming animated content.
78 base::TimeDelta animated_playout_delay;
79
77 // RTP payload type enum: Specifies the type/encoding of frame data. 80 // RTP payload type enum: Specifies the type/encoding of frame data.
78 int rtp_payload_type; 81 int rtp_payload_type;
79 82
80 bool use_external_encoder; 83 bool use_external_encoder;
81 int frequency; 84 int frequency;
82 int channels; 85 int channels;
83 int bitrate; // Set to <= 0 for "auto variable bitrate" (libopus knows best). 86 int bitrate; // Set to <= 0 for "auto variable bitrate" (libopus knows best).
84 Codec codec; 87 Codec codec;
85 88
86 // The AES crypto key and initialization vector. Each of these strings 89 // The AES crypto key and initialization vector. Each of these strings
(...skipping 15 matching lines...) Expand all
102 105
103 // The total amount of time between a frame's capture/recording on the sender 106 // The total amount of time between a frame's capture/recording on the sender
104 // and its playback on the receiver (i.e., shown to a user). This should be 107 // and its playback on the receiver (i.e., shown to a user). This should be
105 // set to a value large enough to give the system sufficient time to encode, 108 // set to a value large enough to give the system sufficient time to encode,
106 // transmit/retransmit, receive, decode, and render; given its run-time 109 // transmit/retransmit, receive, decode, and render; given its run-time
107 // environment (sender/receiver hardware performance, network conditions, 110 // environment (sender/receiver hardware performance, network conditions,
108 // etc.). 111 // etc.).
109 base::TimeDelta min_playout_delay; 112 base::TimeDelta min_playout_delay;
110 base::TimeDelta max_playout_delay; 113 base::TimeDelta max_playout_delay;
111 114
115 // Starting playout delay when streaming animated content.
116 base::TimeDelta animated_playout_delay;
117
112 // RTP payload type enum: Specifies the type/encoding of frame data. 118 // RTP payload type enum: Specifies the type/encoding of frame data.
113 int rtp_payload_type; 119 int rtp_payload_type;
114 120
115 bool use_external_encoder; 121 bool use_external_encoder;
116 122
117 float congestion_control_back_off; 123 float congestion_control_back_off;
118 int max_bitrate; 124 int max_bitrate;
119 int min_bitrate; 125 int min_bitrate;
120 int start_bitrate; 126 int start_bitrate;
121 int max_qp; 127 int max_qp;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> 204 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)>
199 ReceiveVideoEncodeMemoryCallback; 205 ReceiveVideoEncodeMemoryCallback;
200 typedef base::Callback<void(size_t size, 206 typedef base::Callback<void(size_t size,
201 const ReceiveVideoEncodeMemoryCallback&)> 207 const ReceiveVideoEncodeMemoryCallback&)>
202 CreateVideoEncodeMemoryCallback; 208 CreateVideoEncodeMemoryCallback;
203 209
204 } // namespace cast 210 } // namespace cast
205 } // namespace media 211 } // namespace media
206 212
207 #endif // MEDIA_CAST_CAST_CONFIG_H_ 213 #endif // MEDIA_CAST_CAST_CONFIG_H_
OLDNEW
« no previous file with comments | « media/capture/content/video_capture_oracle.h ('k') | media/cast/sender/audio_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698