| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_); | 106 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_); |
| 107 VCMProcessTimer _sendStatsTimer; | 107 VCMProcessTimer _sendStatsTimer; |
| 108 | 108 |
| 109 // Must be accessed on the construction thread of VideoSender. | 109 // Must be accessed on the construction thread of VideoSender. |
| 110 VideoCodec current_codec_; | 110 VideoCodec current_codec_; |
| 111 rtc::SequencedTaskChecker sequenced_checker_; | 111 rtc::SequencedTaskChecker sequenced_checker_; |
| 112 | 112 |
| 113 rtc::CriticalSection params_crit_; | 113 rtc::CriticalSection params_crit_; |
| 114 EncoderParameters encoder_params_ GUARDED_BY(params_crit_); | 114 EncoderParameters encoder_params_ GUARDED_BY(params_crit_); |
| 115 bool encoder_has_internal_source_ GUARDED_BY(params_crit_); | 115 bool encoder_has_internal_source_ GUARDED_BY(params_crit_); |
| 116 std::string encoder_name_ GUARDED_BY(params_crit_); | |
| 117 std::vector<FrameType> next_frame_types_ GUARDED_BY(params_crit_); | 116 std::vector<FrameType> next_frame_types_ GUARDED_BY(params_crit_); |
| 118 }; | 117 }; |
| 119 | 118 |
| 120 class VideoReceiver : public Module { | 119 class VideoReceiver : public Module { |
| 121 public: | 120 public: |
| 122 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; | 121 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; |
| 123 | 122 |
| 124 VideoReceiver(Clock* clock, | 123 VideoReceiver(Clock* clock, |
| 125 EventFactory* event_factory, | 124 EventFactory* event_factory, |
| 126 EncodedImageCallback* pre_decode_image_callback, | 125 EncodedImageCallback* pre_decode_image_callback, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 VCMProcessTimer _receiveStatsTimer; | 201 VCMProcessTimer _receiveStatsTimer; |
| 203 VCMProcessTimer _retransmissionTimer; | 202 VCMProcessTimer _retransmissionTimer; |
| 204 VCMProcessTimer _keyRequestTimer; | 203 VCMProcessTimer _keyRequestTimer; |
| 205 QpParser qp_parser_; | 204 QpParser qp_parser_; |
| 206 ThreadUnsafeOneTimeEvent first_frame_received_; | 205 ThreadUnsafeOneTimeEvent first_frame_received_; |
| 207 }; | 206 }; |
| 208 | 207 |
| 209 } // namespace vcm | 208 } // namespace vcm |
| 210 } // namespace webrtc | 209 } // namespace webrtc |
| 211 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 210 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
| OLD | NEW |