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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 class StreamDataCountersCallback { | 890 class StreamDataCountersCallback { |
890 public: | 891 public: |
891 virtual ~StreamDataCountersCallback() {} | 892 virtual ~StreamDataCountersCallback() {} |
892 | 893 |
893 virtual void DataCountersUpdated(const StreamDataCounters& counters, | 894 virtual void DataCountersUpdated(const StreamDataCounters& counters, |
894 uint32_t ssrc) = 0; | 895 uint32_t ssrc) = 0; |
895 }; | 896 }; |
896 } // namespace webrtc | 897 } // namespace webrtc |
897 | 898 |
898 #endif // WEBRTC_COMMON_TYPES_H_ | 899 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |