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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 | 709 |
710 unsigned char maxFramerate; | 710 unsigned char maxFramerate; |
711 | 711 |
712 VideoCodecUnion codecSpecific; | 712 VideoCodecUnion codecSpecific; |
713 | 713 |
714 unsigned int qpMax; | 714 unsigned int qpMax; |
715 unsigned char numberOfSimulcastStreams; | 715 unsigned char numberOfSimulcastStreams; |
716 SimulcastStream simulcastStream[kMaxSimulcastStreams]; | 716 SimulcastStream simulcastStream[kMaxSimulcastStreams]; |
717 | 717 |
718 VideoCodecMode mode; | 718 VideoCodecMode mode; |
| 719 bool forceDisableWrapperFrameDropper; |
719 | 720 |
720 // When using an external encoder/decoder this allows to pass | 721 // When using an external encoder/decoder this allows to pass |
721 // extra options without requiring webrtc to be aware of them. | 722 // extra options without requiring webrtc to be aware of them. |
722 Config* extra_options; | 723 Config* extra_options; |
723 | 724 |
724 bool operator==(const VideoCodec& other) const { | 725 bool operator==(const VideoCodec& other) const { |
725 bool ret = codecType == other.codecType && | 726 bool ret = codecType == other.codecType && |
726 (STR_CASE_CMP(plName, other.plName) == 0) && | 727 (STR_CASE_CMP(plName, other.plName) == 0) && |
727 plType == other.plType && | 728 plType == other.plType && |
728 width == other.width && | 729 width == other.width && |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 class StreamDataCountersCallback { | 901 class StreamDataCountersCallback { |
901 public: | 902 public: |
902 virtual ~StreamDataCountersCallback() {} | 903 virtual ~StreamDataCountersCallback() {} |
903 | 904 |
904 virtual void DataCountersUpdated(const StreamDataCounters& counters, | 905 virtual void DataCountersUpdated(const StreamDataCounters& counters, |
905 uint32_t ssrc) = 0; | 906 uint32_t ssrc) = 0; |
906 }; | 907 }; |
907 } // namespace webrtc | 908 } // namespace webrtc |
908 | 909 |
909 #endif // WEBRTC_COMMON_TYPES_H_ | 910 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |