Index: webrtc/video/video_send_stream.h |
diff --git a/webrtc/video/video_send_stream.h b/webrtc/video/video_send_stream.h |
index b9d6ea008ac0287b595cb84eae107a31422f5205..bb6e45300d9ce0dd248bd670e4db9f2b0921b6ba 100644 |
--- a/webrtc/video/video_send_stream.h |
+++ b/webrtc/video/video_send_stream.h |
@@ -75,6 +75,9 @@ class VideoSendStream : public webrtc::VideoSendStream, |
int GetPaddingNeededBps() const; |
private: |
+ static bool EncoderThreadFunction(void* obj); |
+ bool EncoderProcess(); |
+ |
void ConfigureSsrcs(); |
SendStatisticsProxy stats_proxy_; |
@@ -87,6 +90,10 @@ class VideoSendStream : public webrtc::VideoSendStream, |
CongestionController* const congestion_controller_; |
VieRemb* const remb_; |
+ rtc::PlatformThread encoder_thread_; |
+ rtc::Event encoder_wakeup_event_; |
+ volatile int stop_encoder_thread_; |
+ |
OveruseFrameDetector overuse_detector_; |
PayloadRouter payload_router_; |
EncoderStateFeedback encoder_feedback_; |