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

Side by Side Diff: webrtc/config.h

Issue 2511703002: Wire up FlexFEC in VideoEngine2. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | webrtc/config.cc » ('j') | webrtc/config.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int red_rtx_payload_type; 54 int red_rtx_payload_type;
55 }; 55 };
56 56
57 // Settings for FlexFEC forward error correction. 57 // Settings for FlexFEC forward error correction.
58 // Set the payload type to '-1' to disable. 58 // Set the payload type to '-1' to disable.
59 struct FlexfecConfig { 59 struct FlexfecConfig {
60 FlexfecConfig(); 60 FlexfecConfig();
61 ~FlexfecConfig(); 61 ~FlexfecConfig();
62 std::string ToString() const; 62 std::string ToString() const;
63 63
64 bool IsValid() const;
65
64 // Payload type of FlexFEC. 66 // Payload type of FlexFEC.
65 int flexfec_payload_type; 67 int flexfec_payload_type;
66 68
67 // SSRC of FlexFEC stream. 69 // SSRC of FlexFEC stream.
68 uint32_t flexfec_ssrc; 70 uint32_t flexfec_ssrc;
69 71
70 // Vector containing a single element, corresponding to the SSRC of the media 72 // Vector containing a single element, corresponding to the SSRC of the media
71 // stream being protected by this FlexFEC stream. The vector MUST have size 1. 73 // stream being protected by this FlexFEC stream. The vector MUST have size 1.
72 // 74 //
73 // TODO(brandtr): Update comment above when we support multistream protection. 75 // TODO(brandtr): Update comment above when we support multistream protection.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 class DecoderSpecificSettings { 255 class DecoderSpecificSettings {
254 public: 256 public:
255 DecoderSpecificSettings(); 257 DecoderSpecificSettings();
256 virtual ~DecoderSpecificSettings(); 258 virtual ~DecoderSpecificSettings();
257 rtc::Optional<VideoDecoderH264Settings> h264_extra_settings; 259 rtc::Optional<VideoDecoderH264Settings> h264_extra_settings;
258 }; 260 };
259 261
260 } // namespace webrtc 262 } // namespace webrtc
261 263
262 #endif // WEBRTC_CONFIG_H_ 264 #endif // WEBRTC_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/config.cc » ('j') | webrtc/config.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698