Delete VCMSendStatisticsCallback and corresponding use of ProcessThread
Bug: webrtc:8422 Change-Id: I5863266a0226d475c4fdd810f2f6f1acdf922df3 Reviewed-on: https://webrtc-review.googlesource.com/14880 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20440}
This commit is contained in:
@ -36,7 +36,6 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
class ProcessThread;
|
||||
class SendStatisticsProxy;
|
||||
class VideoBitrateAllocationObserver;
|
||||
|
||||
@ -79,12 +78,6 @@ class VideoStreamEncoder : public rtc::VideoSinkInterface<VideoFrame>,
|
||||
EncodedFrameObserver* encoder_timing,
|
||||
std::unique_ptr<OveruseFrameDetector> overuse_detector);
|
||||
~VideoStreamEncoder();
|
||||
// RegisterProcessThread register |module_process_thread| with those objects
|
||||
// that use it. Registration has to happen on the thread where
|
||||
// |module_process_thread| was created (libjingle's worker thread).
|
||||
// TODO(perkj): Replace the use of |module_process_thread| with a TaskQueue.
|
||||
void RegisterProcessThread(ProcessThread* module_process_thread);
|
||||
void DeRegisterProcessThread();
|
||||
|
||||
// Sets the source that will provide I420 video frames.
|
||||
// |degradation_preference| control whether or not resolution or frame rate
|
||||
@ -236,8 +229,6 @@ class VideoStreamEncoder : public rtc::VideoSinkInterface<VideoFrame>,
|
||||
|
||||
SendStatisticsProxy* const stats_proxy_;
|
||||
rtc::VideoSinkInterface<VideoFrame>* const pre_encode_callback_;
|
||||
ProcessThread* module_process_thread_;
|
||||
rtc::ThreadChecker module_process_thread_checker_;
|
||||
// |thread_checker_| checks that public methods that are related to lifetime
|
||||
// of VideoStreamEncoder are called on the same thread.
|
||||
rtc::ThreadChecker thread_checker_;
|
||||
|
Reference in New Issue
Block a user