OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 | 698 |
699 unsigned char maxFramerate; | 699 unsigned char maxFramerate; |
700 | 700 |
701 VideoCodecUnion codecSpecific; | 701 VideoCodecUnion codecSpecific; |
702 | 702 |
703 unsigned int qpMax; | 703 unsigned int qpMax; |
704 unsigned char numberOfSimulcastStreams; | 704 unsigned char numberOfSimulcastStreams; |
705 SimulcastStream simulcastStream[kMaxSimulcastStreams]; | 705 SimulcastStream simulcastStream[kMaxSimulcastStreams]; |
706 | 706 |
707 VideoCodecMode mode; | 707 VideoCodecMode mode; |
| 708 bool disableGenericBitrateFrameDropper; |
708 | 709 |
709 // When using an external encoder/decoder this allows to pass | 710 // When using an external encoder/decoder this allows to pass |
710 // extra options without requiring webrtc to be aware of them. | 711 // extra options without requiring webrtc to be aware of them. |
711 Config* extra_options; | 712 Config* extra_options; |
712 | 713 |
713 bool operator==(const VideoCodec& other) const { | 714 bool operator==(const VideoCodec& other) const { |
714 bool ret = codecType == other.codecType && | 715 bool ret = codecType == other.codecType && |
715 (STR_CASE_CMP(plName, other.plName) == 0) && | 716 (STR_CASE_CMP(plName, other.plName) == 0) && |
716 plType == other.plType && | 717 plType == other.plType && |
717 width == other.width && | 718 width == other.width && |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 uint32_t ssrc) = 0; | 895 uint32_t ssrc) = 0; |
895 }; | 896 }; |
896 | 897 |
897 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size | 898 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size |
898 // RTCP mode is described by RFC 5506. | 899 // RTCP mode is described by RFC 5506. |
899 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 900 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
900 | 901 |
901 } // namespace webrtc | 902 } // namespace webrtc |
902 | 903 |
903 #endif // WEBRTC_COMMON_TYPES_H_ | 904 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |