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

Side by Side Diff: webrtc/ortc/testrtpparameters.h

Issue 2981513002: Wire up RTP keep-alive in ortc api. (Closed)
Patch Set: deps, again Created 3 years, 4 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
« no previous file with comments | « webrtc/ortc/srtptransport_unittest.cc ('k') | webrtc/pc/rtptransport.h » ('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 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 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 12 matching lines...) Expand all
23 // opposite, and include all features that would normally be offered by a 23 // opposite, and include all features that would normally be offered by a
24 // PeerConnection, and in some cases additional ones. 24 // PeerConnection, and in some cases additional ones.
25 // 25 //
26 // These methods are intended to be used for end-to-end testing (such as in 26 // These methods are intended to be used for end-to-end testing (such as in
27 // ortcfactory_integrationtest.cc), or unit testing that doesn't care about the 27 // ortcfactory_integrationtest.cc), or unit testing that doesn't care about the
28 // specific contents of the parameters. Tests should NOT assume that these 28 // specific contents of the parameters. Tests should NOT assume that these
29 // methods will not change; tests that are testing that a specific value in the 29 // methods will not change; tests that are testing that a specific value in the
30 // parameters is applied properly should construct the parameters in the test 30 // parameters is applied properly should construct the parameters in the test
31 // itself. 31 // itself.
32 32
33 inline RtcpParameters MakeRtcpMuxParameters() { 33 inline RtpTransportParameters MakeRtcpMuxParameters() {
34 RtcpParameters rtcp_parameters; 34 RtpTransportParameters parameters;
35 rtcp_parameters.mux = true; 35 parameters.rtcp.mux = true;
36 return rtcp_parameters; 36 return parameters;
37 } 37 }
38 38
39 RtpParameters MakeMinimalOpusParameters(); 39 RtpParameters MakeMinimalOpusParameters();
40 RtpParameters MakeMinimalIsacParameters(); 40 RtpParameters MakeMinimalIsacParameters();
41 RtpParameters MakeMinimalOpusParametersWithSsrc(uint32_t ssrc); 41 RtpParameters MakeMinimalOpusParametersWithSsrc(uint32_t ssrc);
42 RtpParameters MakeMinimalIsacParametersWithSsrc(uint32_t ssrc); 42 RtpParameters MakeMinimalIsacParametersWithSsrc(uint32_t ssrc);
43 43
44 RtpParameters MakeMinimalVp8Parameters(); 44 RtpParameters MakeMinimalVp8Parameters();
45 RtpParameters MakeMinimalVp9Parameters(); 45 RtpParameters MakeMinimalVp9Parameters();
46 RtpParameters MakeMinimalVp8ParametersWithSsrc(uint32_t ssrc); 46 RtpParameters MakeMinimalVp8ParametersWithSsrc(uint32_t ssrc);
(...skipping 16 matching lines...) Expand all
63 // Make video parameters with all the available properties configured and 63 // Make video parameters with all the available properties configured and
64 // features used, and with multiple codecs offered. Obtained by taking a 64 // features used, and with multiple codecs offered. Obtained by taking a
65 // snapshot of a default PeerConnection offer (and adding other things, like 65 // snapshot of a default PeerConnection offer (and adding other things, like
66 // bitrate limit). 66 // bitrate limit).
67 RtpParameters MakeFullVp8Parameters(); 67 RtpParameters MakeFullVp8Parameters();
68 RtpParameters MakeFullVp9Parameters(); 68 RtpParameters MakeFullVp9Parameters();
69 69
70 } // namespace webrtc 70 } // namespace webrtc
71 71
72 #endif // WEBRTC_ORTC_TESTRTPPARAMETERS_H_ 72 #endif // WEBRTC_ORTC_TESTRTPPARAMETERS_H_
OLDNEW
« no previous file with comments | « webrtc/ortc/srtptransport_unittest.cc ('k') | webrtc/pc/rtptransport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698