| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 rtc::CriticalSection params_crit_; | 122 rtc::CriticalSection params_crit_; |
| 123 EncoderParameters encoder_params_ GUARDED_BY(params_crit_); | 123 EncoderParameters encoder_params_ GUARDED_BY(params_crit_); |
| 124 bool encoder_has_internal_source_ GUARDED_BY(params_crit_); | 124 bool encoder_has_internal_source_ GUARDED_BY(params_crit_); |
| 125 std::vector<FrameType> next_frame_types_ GUARDED_BY(params_crit_); | 125 std::vector<FrameType> next_frame_types_ GUARDED_BY(params_crit_); |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 class VideoReceiver { | 128 class VideoReceiver { |
| 129 public: | 129 public: |
| 130 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; | 130 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; |
| 131 | 131 |
| 132 VideoReceiver(Clock* clock, EventFactory* event_factory); | 132 VideoReceiver(Clock* clock, |
| 133 EventFactory* event_factory, |
| 134 NackSender* nack_sender = nullptr, |
| 135 KeyFrameRequestSender* keyframe_request_sender = nullptr); |
| 133 ~VideoReceiver(); | 136 ~VideoReceiver(); |
| 134 | 137 |
| 135 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, | 138 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, |
| 136 int32_t numberOfCores, | 139 int32_t numberOfCores, |
| 137 bool requireKeyFrame); | 140 bool requireKeyFrame); |
| 138 | 141 |
| 139 void RegisterExternalDecoder(VideoDecoder* externalDecoder, | 142 void RegisterExternalDecoder(VideoDecoder* externalDecoder, |
| 140 uint8_t payloadType); | 143 uint8_t payloadType); |
| 141 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); | 144 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); |
| 142 int32_t RegisterReceiveStatisticsCallback( | 145 int32_t RegisterReceiveStatisticsCallback( |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 217 |
| 215 VCMProcessTimer _receiveStatsTimer; | 218 VCMProcessTimer _receiveStatsTimer; |
| 216 VCMProcessTimer _retransmissionTimer; | 219 VCMProcessTimer _retransmissionTimer; |
| 217 VCMProcessTimer _keyRequestTimer; | 220 VCMProcessTimer _keyRequestTimer; |
| 218 QpParser qp_parser_; | 221 QpParser qp_parser_; |
| 219 }; | 222 }; |
| 220 | 223 |
| 221 } // namespace vcm | 224 } // namespace vcm |
| 222 } // namespace webrtc | 225 } // namespace webrtc |
| 223 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 226 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
| OLD | NEW |