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

Side by Side Diff: webrtc/media/base/testutils.h

Issue 2503403004: Add support for FEC-FR semantics in StreamParams. (Closed)
Patch Set: No inline inside class declaration. Created 4 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 | « webrtc/media/base/streamparams_unittest.cc ('k') | webrtc/media/base/testutils.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 /* 1 /*
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2004 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Create Simulcast StreamParams with given |ssrcs| and |cname|. 185 // Create Simulcast StreamParams with given |ssrcs| and |cname|.
186 cricket::StreamParams CreateSimStreamParams(const std::string& cname, 186 cricket::StreamParams CreateSimStreamParams(const std::string& cname,
187 const std::vector<uint32_t>& ssrcs); 187 const std::vector<uint32_t>& ssrcs);
188 // Create Simulcast stream with given |ssrcs| and |rtx_ssrcs|. 188 // Create Simulcast stream with given |ssrcs| and |rtx_ssrcs|.
189 // The number of |rtx_ssrcs| must match number of |ssrcs|. 189 // The number of |rtx_ssrcs| must match number of |ssrcs|.
190 cricket::StreamParams CreateSimWithRtxStreamParams( 190 cricket::StreamParams CreateSimWithRtxStreamParams(
191 const std::string& cname, 191 const std::string& cname,
192 const std::vector<uint32_t>& ssrcs, 192 const std::vector<uint32_t>& ssrcs,
193 const std::vector<uint32_t>& rtx_ssrcs); 193 const std::vector<uint32_t>& rtx_ssrcs);
194 194
195 // Create StreamParams with single primary SSRC and corresponding FlexFEC SSRC.
196 cricket::StreamParams CreatePrimaryWithFecFrStreamParams(
197 const std::string& cname,
198 uint32_t primary_ssrc,
199 uint32_t flexfec_ssrc);
200
195 } // namespace cricket 201 } // namespace cricket
196 202
197 #endif // WEBRTC_MEDIA_BASE_TESTUTILS_H_ 203 #endif // WEBRTC_MEDIA_BASE_TESTUTILS_H_
OLDNEW
« no previous file with comments | « webrtc/media/base/streamparams_unittest.cc ('k') | webrtc/media/base/testutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698