niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | /* |
pwestin@webrtc.org | 52fd98d | 2012-02-13 09:03:53 +0000 | [diff] [blame] | 2 | * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 11 | #ifndef MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
| 12 | #define MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 13 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 14 | #include "modules/video_coding/include/video_coding.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 15 | |
kwiberg | 3f55dea | 2016-02-29 05:51:59 -0800 | [diff] [blame] | 16 | #include <memory> |
perkj | 376b192 | 2016-05-02 11:35:24 -0700 | [diff] [blame] | 17 | #include <string> |
stefan@webrtc.org | c530043 | 2012-10-08 07:06:53 +0000 | [diff] [blame] | 18 | #include <vector> |
| 19 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 20 | #include "common_video/include/frame_callback.h" |
| 21 | #include "modules/video_coding/codec_database.h" |
| 22 | #include "modules/video_coding/frame_buffer.h" |
| 23 | #include "modules/video_coding/generic_decoder.h" |
| 24 | #include "modules/video_coding/generic_encoder.h" |
| 25 | #include "modules/video_coding/jitter_buffer.h" |
| 26 | #include "modules/video_coding/media_optimization.h" |
| 27 | #include "modules/video_coding/qp_parser.h" |
| 28 | #include "modules/video_coding/receiver.h" |
| 29 | #include "modules/video_coding/timing.h" |
| 30 | #include "rtc_base/onetimeevent.h" |
| 31 | #include "rtc_base/sequenced_task_checker.h" |
| 32 | #include "rtc_base/thread_annotations.h" |
| 33 | #include "rtc_base/thread_checker.h" |
| 34 | #include "system_wrappers/include/clock.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 35 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 36 | namespace webrtc { |
sprang@webrtc.org | 4070935 | 2013-11-26 11:41:59 +0000 | [diff] [blame] | 37 | |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 38 | class VideoBitrateAllocator; |
sprang | 1a646ee | 2016-12-01 06:34:11 -0800 | [diff] [blame] | 39 | class VideoBitrateAllocationObserver; |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 40 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 41 | namespace vcm { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 42 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 43 | class VCMProcessTimer { |
| 44 | public: |
sprang | 40217c3 | 2016-11-21 05:41:52 -0800 | [diff] [blame] | 45 | static const int64_t kDefaultProcessIntervalMs = 1000; |
| 46 | |
pkasting@chromium.org | 0b1534c | 2014-12-15 22:09:40 +0000 | [diff] [blame] | 47 | VCMProcessTimer(int64_t periodMs, Clock* clock) |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 48 | : _clock(clock), |
| 49 | _periodMs(periodMs), |
| 50 | _latestMs(_clock->TimeInMilliseconds()) {} |
pkasting@chromium.org | 0b1534c | 2014-12-15 22:09:40 +0000 | [diff] [blame] | 51 | int64_t Period() const; |
| 52 | int64_t TimeUntilProcess() const; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 53 | void Processed(); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 54 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 55 | private: |
| 56 | Clock* _clock; |
pkasting@chromium.org | 0b1534c | 2014-12-15 22:09:40 +0000 | [diff] [blame] | 57 | int64_t _periodMs; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 58 | int64_t _latestMs; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 59 | }; |
| 60 | |
Peter Boström | cd5c25c | 2016-04-21 16:48:08 +0200 | [diff] [blame] | 61 | class VideoSender : public Module { |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 62 | public: |
| 63 | typedef VideoCodingModule::SenderNackMode SenderNackMode; |
| 64 | |
pbos@webrtc.org | 891d483 | 2015-02-26 13:15:22 +0000 | [diff] [blame] | 65 | VideoSender(Clock* clock, |
| 66 | EncodedImageCallback* post_encode_callback, |
perkj | 376b192 | 2016-05-02 11:35:24 -0700 | [diff] [blame] | 67 | VCMSendStatisticsCallback* send_stats_callback); |
andresp@webrtc.org | 1df9dc3 | 2014-01-09 08:01:57 +0000 | [diff] [blame] | 68 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 69 | ~VideoSender(); |
| 70 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 71 | // Register the send codec to be used. |
tommi@webrtc.org | e07710c | 2015-02-19 17:43:25 +0000 | [diff] [blame] | 72 | // This method must be called on the construction thread. |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 73 | int32_t RegisterSendCodec(const VideoCodec* sendCodec, |
| 74 | uint32_t numberOfCores, |
| 75 | uint32_t maxPayloadSize); |
tommi@webrtc.org | e07710c | 2015-02-19 17:43:25 +0000 | [diff] [blame] | 76 | |
Peter Boström | 795dbe4 | 2015-11-27 14:09:07 +0100 | [diff] [blame] | 77 | void RegisterExternalEncoder(VideoEncoder* externalEncoder, |
| 78 | uint8_t payloadType, |
| 79 | bool internalSource); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 80 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 81 | int Bitrate(unsigned int* bitrate) const; |
| 82 | int FrameRate(unsigned int* framerate) const; |
| 83 | |
sprang | 1a646ee | 2016-12-01 06:34:11 -0800 | [diff] [blame] | 84 | // Update the channel parameters based on new rates and rtt. This will also |
| 85 | // cause an immediate call to VideoEncoder::SetRateAllocation(). |
| 86 | int32_t SetChannelParameters( |
| 87 | uint32_t target_bitrate_bps, |
| 88 | uint8_t loss_rate, |
| 89 | int64_t rtt, |
| 90 | VideoBitrateAllocator* bitrate_allocator, |
| 91 | VideoBitrateAllocationObserver* bitrate_updated_callback); |
| 92 | |
| 93 | // Updates the channel parameters with a new bitrate allocation, but using the |
| 94 | // current targit_bitrate, loss rate and rtt. That is, the distribution or |
| 95 | // caps may be updated to a change to a new VideoCodec or allocation mode. |
| 96 | // The new parameters will be stored as pending EncoderParameters, and the |
| 97 | // encoder will only be updated on the next frame. |
| 98 | void UpdateChannelParemeters( |
| 99 | VideoBitrateAllocator* bitrate_allocator, |
| 100 | VideoBitrateAllocationObserver* bitrate_updated_callback); |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 101 | |
Per | 69b332d | 2016-06-02 15:45:42 +0200 | [diff] [blame] | 102 | // Deprecated: |
| 103 | // TODO(perkj): Remove once no projects use it. |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 104 | int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 105 | |
Miguel Casas-Sanchez | 4765070 | 2015-05-29 17:21:40 -0700 | [diff] [blame] | 106 | int32_t AddVideoFrame(const VideoFrame& videoFrame, |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 107 | const CodecSpecificInfo* codecSpecificInfo); |
| 108 | |
perkj | 600246e | 2016-05-04 11:26:51 -0700 | [diff] [blame] | 109 | int32_t IntraFrameRequest(size_t stream_index); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 110 | int32_t EnableFrameDropper(bool enable); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 111 | |
Peter Boström | cd5c25c | 2016-04-21 16:48:08 +0200 | [diff] [blame] | 112 | int64_t TimeUntilNextProcess() override; |
| 113 | void Process() override; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 114 | |
| 115 | private: |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 116 | EncoderParameters UpdateEncoderParameters( |
| 117 | const EncoderParameters& params, |
| 118 | VideoBitrateAllocator* bitrate_allocator, |
| 119 | uint32_t target_bitrate_bps); |
perkj | 57c21f9 | 2016-06-17 07:27:16 -0700 | [diff] [blame] | 120 | void SetEncoderParameters(EncoderParameters params, bool has_internal_source) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 121 | RTC_EXCLUSIVE_LOCKS_REQUIRED(encoder_crit_); |
Peter Boström | dcb8998 | 2015-09-15 14:43:47 +0200 | [diff] [blame] | 122 | |
| 123 | Clock* const clock_; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 124 | |
pbos | 5ad935c | 2016-01-25 03:52:44 -0800 | [diff] [blame] | 125 | rtc::CriticalSection encoder_crit_; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 126 | VCMGenericEncoder* _encoder; |
henrik.lundin@webrtc.org | bec11ef | 2013-09-23 19:54:25 +0000 | [diff] [blame] | 127 | media_optimization::MediaOptimization _mediaOpt; |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 128 | VCMEncodedFrameCallback _encodedFrameCallback RTC_GUARDED_BY(encoder_crit_); |
kthelgason | 876222f | 2016-11-29 01:44:11 -0800 | [diff] [blame] | 129 | EncodedImageCallback* const post_encode_callback_; |
perkj | 376b192 | 2016-05-02 11:35:24 -0700 | [diff] [blame] | 130 | VCMSendStatisticsCallback* const send_stats_callback_; |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 131 | VCMCodecDataBase _codecDataBase RTC_GUARDED_BY(encoder_crit_); |
| 132 | bool frame_dropper_enabled_ RTC_GUARDED_BY(encoder_crit_); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 133 | VCMProcessTimer _sendStatsTimer; |
andresp@webrtc.org | e682aa5 | 2013-12-19 10:59:48 +0000 | [diff] [blame] | 134 | |
tommi@webrtc.org | e07710c | 2015-02-19 17:43:25 +0000 | [diff] [blame] | 135 | // Must be accessed on the construction thread of VideoSender. |
| 136 | VideoCodec current_codec_; |
perkj | 4e417b2 | 2016-07-14 23:35:55 -0700 | [diff] [blame] | 137 | rtc::SequencedTaskChecker sequenced_checker_; |
Erik Språng | 66a641a | 2015-06-11 14:20:07 +0200 | [diff] [blame] | 138 | |
Peter Boström | 233bfd2 | 2016-01-18 20:23:40 +0100 | [diff] [blame] | 139 | rtc::CriticalSection params_crit_; |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 140 | EncoderParameters encoder_params_ RTC_GUARDED_BY(params_crit_); |
| 141 | bool encoder_has_internal_source_ RTC_GUARDED_BY(params_crit_); |
| 142 | std::vector<FrameType> next_frame_types_ RTC_GUARDED_BY(params_crit_); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 143 | }; |
| 144 | |
Peter Boström | 0b25072 | 2016-04-22 18:23:15 +0200 | [diff] [blame] | 145 | class VideoReceiver : public Module { |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 146 | public: |
philipel | 83f831a | 2016-03-12 03:30:23 -0800 | [diff] [blame] | 147 | VideoReceiver(Clock* clock, |
| 148 | EventFactory* event_factory, |
sprang | 3911c26 | 2016-04-15 01:24:14 -0700 | [diff] [blame] | 149 | EncodedImageCallback* pre_decode_image_callback, |
philipel | 721d402 | 2016-12-15 07:10:57 -0800 | [diff] [blame] | 150 | VCMTiming* timing, |
philipel | 83f831a | 2016-03-12 03:30:23 -0800 | [diff] [blame] | 151 | NackSender* nack_sender = nullptr, |
| 152 | KeyFrameRequestSender* keyframe_request_sender = nullptr); |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 153 | ~VideoReceiver(); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 154 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 155 | int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, |
| 156 | int32_t numberOfCores, |
| 157 | bool requireKeyFrame); |
| 158 | |
Peter Boström | 795dbe4 | 2015-11-27 14:09:07 +0100 | [diff] [blame] | 159 | void RegisterExternalDecoder(VideoDecoder* externalDecoder, |
perkj | 796cfaf | 2015-12-10 09:27:38 -0800 | [diff] [blame] | 160 | uint8_t payloadType); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 161 | int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); |
| 162 | int32_t RegisterReceiveStatisticsCallback( |
| 163 | VCMReceiveStatisticsCallback* receiveStats); |
| 164 | int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); |
| 165 | int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 166 | |
| 167 | int32_t Decode(uint16_t maxWaitTimeMs); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 168 | |
philipel | fd5a20f | 2016-11-15 00:57:57 -0800 | [diff] [blame] | 169 | int32_t Decode(const webrtc::VCMEncodedFrame* frame); |
| 170 | |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 171 | // Called on the decoder thread when thread is exiting. |
| 172 | void DecodingStopped(); |
tommi | d0a71ba | 2017-03-14 04:16:20 -0700 | [diff] [blame] | 173 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 174 | int32_t IncomingPacket(const uint8_t* incomingPayload, |
pkasting@chromium.org | 4591fbd | 2014-11-20 22:28:14 +0000 | [diff] [blame] | 175 | size_t payloadLength, |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 176 | const WebRtcRTPHeader& rtpInfo); |
| 177 | int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); |
| 178 | int32_t SetRenderDelay(uint32_t timeMS); |
| 179 | int32_t Delay() const; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 180 | |
tommi | a5c18d7 | 2017-03-20 10:43:23 -0700 | [diff] [blame] | 181 | // DEPRECATED. |
| 182 | int SetReceiverRobustnessMode( |
| 183 | VideoCodingModule::ReceiverRobustness robustnessMode, |
| 184 | VCMDecodeErrorMode errorMode); |
| 185 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 186 | void SetNackSettings(size_t max_nack_list_size, |
| 187 | int max_packet_age_to_nack, |
| 188 | int max_incomplete_time_ms); |
| 189 | |
| 190 | void SetDecodeErrorMode(VCMDecodeErrorMode decode_error_mode); |
| 191 | int SetMinReceiverDelay(int desired_delay_ms); |
| 192 | |
pkasting@chromium.org | 16825b1 | 2015-01-12 21:51:21 +0000 | [diff] [blame] | 193 | int32_t SetReceiveChannelParameters(int64_t rtt); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 194 | int32_t SetVideoProtection(VCMVideoProtection videoProtection, bool enable); |
| 195 | |
Peter Boström | 0b25072 | 2016-04-22 18:23:15 +0200 | [diff] [blame] | 196 | int64_t TimeUntilNextProcess() override; |
| 197 | void Process() override; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 198 | |
pbos@webrtc.org | 4dd40d6 | 2015-02-17 13:22:43 +0000 | [diff] [blame] | 199 | void TriggerDecoderShutdown(); |
sprang@webrtc.org | 4070935 | 2013-11-26 11:41:59 +0000 | [diff] [blame] | 200 | |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 201 | protected: |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 202 | int32_t Decode(const webrtc::VCMEncodedFrame& frame) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 203 | RTC_EXCLUSIVE_LOCKS_REQUIRED(receive_crit_); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 204 | int32_t RequestKeyFrame(); |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 205 | |
| 206 | private: |
tommi | d0a71ba | 2017-03-14 04:16:20 -0700 | [diff] [blame] | 207 | rtc::ThreadChecker construction_thread_; |
pbos@webrtc.org | 20c1f56 | 2014-07-04 10:58:12 +0000 | [diff] [blame] | 208 | Clock* const clock_; |
sprang | 3911c26 | 2016-04-15 01:24:14 -0700 | [diff] [blame] | 209 | rtc::CriticalSection process_crit_; |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 210 | rtc::CriticalSection receive_crit_; |
philipel | 721d402 | 2016-12-15 07:10:57 -0800 | [diff] [blame] | 211 | VCMTiming* _timing; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 212 | VCMReceiver _receiver; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 213 | VCMDecodedFrameCallback _decodedFrameCallback; |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 214 | VCMFrameTypeCallback* _frameTypeCallback RTC_GUARDED_BY(process_crit_); |
| 215 | VCMReceiveStatisticsCallback* _receiveStatsCallback |
| 216 | RTC_GUARDED_BY(process_crit_); |
| 217 | VCMPacketRequestCallback* _packetRequestCallback |
| 218 | RTC_GUARDED_BY(process_crit_); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 219 | |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 220 | VCMFrameBuffer _frameFromFile; |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 221 | bool _scheduleKeyRequest RTC_GUARDED_BY(process_crit_); |
| 222 | bool drop_frames_until_keyframe_ RTC_GUARDED_BY(process_crit_); |
| 223 | size_t max_nack_list_size_ RTC_GUARDED_BY(process_crit_); |
sprang | 3911c26 | 2016-04-15 01:24:14 -0700 | [diff] [blame] | 224 | |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 225 | VCMCodecDataBase _codecDataBase RTC_GUARDED_BY(receive_crit_); |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 226 | EncodedImageCallback* pre_decode_image_callback_; |
Peter Boström | ed3277b | 2016-02-02 15:40:04 +0100 | [diff] [blame] | 227 | |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 228 | VCMProcessTimer _receiveStatsTimer; |
| 229 | VCMProcessTimer _retransmissionTimer; |
| 230 | VCMProcessTimer _keyRequestTimer; |
| 231 | QpParser qp_parser_; |
| 232 | ThreadUnsafeOneTimeEvent first_frame_received_; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 233 | }; |
andresp@webrtc.org | f7eb75b | 2013-09-14 00:25:28 +0000 | [diff] [blame] | 234 | |
| 235 | } // namespace vcm |
pbos@webrtc.org | d900e8b | 2013-07-03 15:12:26 +0000 | [diff] [blame] | 236 | } // namespace webrtc |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 237 | #endif // MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |