| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |