OLD | NEW |
---|---|
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 | 83 |
84 const int kPreferredMaxPTime = 60; | 84 const int kPreferredMaxPTime = 60; |
85 const int kPreferredMinPTime = 10; | 85 const int kPreferredMinPTime = 10; |
86 const int kPreferredSPropStereo = 0; | 86 const int kPreferredSPropStereo = 0; |
87 const int kPreferredStereo = 0; | 87 const int kPreferredStereo = 0; |
88 const int kPreferredUseInbandFec = 0; | 88 const int kPreferredUseInbandFec = 0; |
89 | 89 |
90 const char kRtcpFbParamNack[] = "nack"; | 90 const char kRtcpFbParamNack[] = "nack"; |
91 const char kRtcpFbNackParamPli[] = "pli"; | 91 const char kRtcpFbNackParamPli[] = "pli"; |
92 const char kRtcpFbParamRemb[] = "goog-remb"; | 92 const char kRtcpFbParamRemb[] = "goog-remb"; |
93 const char kRtcpFbParamTransport[] = "goog-transport-fb"; | |
pthatcher1
2015/09/25 23:24:57
Are we avoiding "goog" prefixes?
And can we com
stefan-webrtc
2015/10/02 13:29:12
This is actually an rtcp message. Renaming it tran
| |
93 | 94 |
94 const char kRtcpFbParamCcm[] = "ccm"; | 95 const char kRtcpFbParamCcm[] = "ccm"; |
95 const char kRtcpFbCcmParamFir[] = "fir"; | 96 const char kRtcpFbCcmParamFir[] = "fir"; |
96 const char kCodecParamMaxBitrate[] = "x-google-max-bitrate"; | 97 const char kCodecParamMaxBitrate[] = "x-google-max-bitrate"; |
97 const char kCodecParamMinBitrate[] = "x-google-min-bitrate"; | 98 const char kCodecParamMinBitrate[] = "x-google-min-bitrate"; |
98 const char kCodecParamStartBitrate[] = "x-google-start-bitrate"; | 99 const char kCodecParamStartBitrate[] = "x-google-start-bitrate"; |
99 const char kCodecParamMaxQuantization[] = "x-google-max-quantization"; | 100 const char kCodecParamMaxQuantization[] = "x-google-max-quantization"; |
100 const char kCodecParamPort[] = "x-google-port"; | 101 const char kCodecParamPort[] = "x-google-port"; |
101 | 102 |
102 const int kGoogleRtpDataCodecId = 101; | 103 const int kGoogleRtpDataCodecId = 101; |
(...skipping 14 matching lines...) Expand all Loading... | |
117 | 118 |
118 const int kRtpAbsoluteSenderTimeHeaderExtensionDefaultId = 3; | 119 const int kRtpAbsoluteSenderTimeHeaderExtensionDefaultId = 3; |
119 const char kRtpAbsoluteSenderTimeHeaderExtension[] = | 120 const char kRtpAbsoluteSenderTimeHeaderExtension[] = |
120 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; | 121 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; |
121 | 122 |
122 const int kRtpVideoRotationHeaderExtensionDefaultId = 4; | 123 const int kRtpVideoRotationHeaderExtensionDefaultId = 4; |
123 const char kRtpVideoRotationHeaderExtension[] = "urn:3gpp:video-orientation"; | 124 const char kRtpVideoRotationHeaderExtension[] = "urn:3gpp:video-orientation"; |
124 const char kRtpVideoRotation6BitsHeaderExtensionForTesting[] = | 125 const char kRtpVideoRotation6BitsHeaderExtensionForTesting[] = |
125 "urn:3gpp:video-orientation:6"; | 126 "urn:3gpp:video-orientation:6"; |
126 | 127 |
128 const int kRtpTransportSequenceNumberHeaderExtensionDefaultId = 5; | |
129 const char kRtpTransportSequenceNumberHeaderExtension[] = | |
130 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions"; | |
131 | |
127 const int kNumDefaultUnsignalledVideoRecvStreams = 0; | 132 const int kNumDefaultUnsignalledVideoRecvStreams = 0; |
128 | 133 |
129 const char kVp8CodecName[] = "VP8"; | 134 const char kVp8CodecName[] = "VP8"; |
130 const char kVp9CodecName[] = "VP9"; | 135 const char kVp9CodecName[] = "VP9"; |
131 const char kH264CodecName[] = "H264"; | 136 const char kH264CodecName[] = "H264"; |
132 | 137 |
133 const int kDefaultVp8PlType = 100; | 138 const int kDefaultVp8PlType = 100; |
134 const int kDefaultVp9PlType = 101; | 139 const int kDefaultVp9PlType = 101; |
135 const int kDefaultH264PlType = 107; | 140 const int kDefaultH264PlType = 107; |
136 const int kDefaultRedPlType = 116; | 141 const int kDefaultRedPlType = 116; |
137 const int kDefaultUlpfecType = 117; | 142 const int kDefaultUlpfecType = 117; |
138 const int kDefaultRtxVp8PlType = 96; | 143 const int kDefaultRtxVp8PlType = 96; |
139 | 144 |
140 const int kDefaultVideoMaxWidth = 640; | 145 const int kDefaultVideoMaxWidth = 640; |
141 const int kDefaultVideoMaxHeight = 400; | 146 const int kDefaultVideoMaxHeight = 400; |
142 const int kDefaultVideoMaxFramerate = 30; | 147 const int kDefaultVideoMaxFramerate = 30; |
143 } // namespace cricket | 148 } // namespace cricket |
144 | 149 |
OLD | NEW |