| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 int64_t _periodMs; | 51 int64_t _periodMs; |
| 52 int64_t _latestMs; | 52 int64_t _latestMs; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 class VideoSender : public Module { | 55 class VideoSender : public Module { |
| 56 public: | 56 public: |
| 57 typedef VideoCodingModule::SenderNackMode SenderNackMode; | 57 typedef VideoCodingModule::SenderNackMode SenderNackMode; |
| 58 | 58 |
| 59 VideoSender(Clock* clock, | 59 VideoSender(Clock* clock, |
| 60 EncodedImageCallback* post_encode_callback, | 60 EncodedImageCallback* post_encode_callback, |
| 61 VideoEncoderRateObserver* encoder_rate_observer, | |
| 62 VCMSendStatisticsCallback* send_stats_callback); | 61 VCMSendStatisticsCallback* send_stats_callback); |
| 63 | 62 |
| 64 ~VideoSender(); | 63 ~VideoSender(); |
| 65 | 64 |
| 66 // Register the send codec to be used. | 65 // Register the send codec to be used. |
| 67 // This method must be called on the construction thread. | 66 // This method must be called on the construction thread. |
| 68 int32_t RegisterSendCodec(const VideoCodec* sendCodec, | 67 int32_t RegisterSendCodec(const VideoCodec* sendCodec, |
| 69 uint32_t numberOfCores, | 68 uint32_t numberOfCores, |
| 70 uint32_t maxPayloadSize); | 69 uint32_t maxPayloadSize); |
| 71 | 70 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 VCMProcessTimer _receiveStatsTimer; | 203 VCMProcessTimer _receiveStatsTimer; |
| 205 VCMProcessTimer _retransmissionTimer; | 204 VCMProcessTimer _retransmissionTimer; |
| 206 VCMProcessTimer _keyRequestTimer; | 205 VCMProcessTimer _keyRequestTimer; |
| 207 QpParser qp_parser_; | 206 QpParser qp_parser_; |
| 208 ThreadUnsafeOneTimeEvent first_frame_received_; | 207 ThreadUnsafeOneTimeEvent first_frame_received_; |
| 209 }; | 208 }; |
| 210 | 209 |
| 211 } // namespace vcm | 210 } // namespace vcm |
| 212 } // namespace webrtc | 211 } // namespace webrtc |
| 213 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 212 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
| OLD | NEW |