| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 |
| 11 #ifndef WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 11 #ifndef WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| 12 #define WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 12 #define WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/call.h" | 17 #include "webrtc/call.h" |
| 18 #include "webrtc/call/transport_adapter.h" | |
| 19 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 18 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 21 #include "webrtc/video/encoded_frame_callback_adapter.h" | 20 #include "webrtc/video/encoded_frame_callback_adapter.h" |
| 22 #include "webrtc/video/encoder_state_feedback.h" | 21 #include "webrtc/video/encoder_state_feedback.h" |
| 23 #include "webrtc/video/payload_router.h" | 22 #include "webrtc/video/payload_router.h" |
| 24 #include "webrtc/video/send_statistics_proxy.h" | 23 #include "webrtc/video/send_statistics_proxy.h" |
| 25 #include "webrtc/video/video_capture_input.h" | 24 #include "webrtc/video/video_capture_input.h" |
| 26 #include "webrtc/video/vie_channel.h" | 25 #include "webrtc/video/vie_channel.h" |
| 27 #include "webrtc/video/vie_encoder.h" | 26 #include "webrtc/video/vie_encoder.h" |
| 28 #include "webrtc/video_receive_stream.h" | 27 #include "webrtc/video_receive_stream.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 RtpStateMap GetRtpStates() const; | 73 RtpStateMap GetRtpStates() const; |
| 75 | 74 |
| 76 int64_t GetRtt() const; | 75 int64_t GetRtt() const; |
| 77 int GetPaddingNeededBps() const; | 76 int GetPaddingNeededBps() const; |
| 78 | 77 |
| 79 private: | 78 private: |
| 80 bool SetSendCodec(VideoCodec video_codec); | 79 bool SetSendCodec(VideoCodec video_codec); |
| 81 void ConfigureSsrcs(); | 80 void ConfigureSsrcs(); |
| 82 | 81 |
| 83 SendStatisticsProxy stats_proxy_; | 82 SendStatisticsProxy stats_proxy_; |
| 84 TransportAdapter transport_adapter_; | |
| 85 EncodedFrameCallbackAdapter encoded_frame_proxy_; | 83 EncodedFrameCallbackAdapter encoded_frame_proxy_; |
| 86 const VideoSendStream::Config config_; | 84 const VideoSendStream::Config config_; |
| 87 VideoEncoderConfig encoder_config_; | 85 VideoEncoderConfig encoder_config_; |
| 88 std::map<uint32_t, RtpState> suspended_ssrcs_; | 86 std::map<uint32_t, RtpState> suspended_ssrcs_; |
| 89 | 87 |
| 90 ProcessThread* const module_process_thread_; | 88 ProcessThread* const module_process_thread_; |
| 91 CallStats* const call_stats_; | 89 CallStats* const call_stats_; |
| 92 CongestionController* const congestion_controller_; | 90 CongestionController* const congestion_controller_; |
| 93 VieRemb* const remb_; | 91 VieRemb* const remb_; |
| 94 | 92 |
| 95 OveruseFrameDetector overuse_detector_; | 93 OveruseFrameDetector overuse_detector_; |
| 96 PayloadRouter payload_router_; | 94 PayloadRouter payload_router_; |
| 97 EncoderStateFeedback encoder_feedback_; | 95 EncoderStateFeedback encoder_feedback_; |
| 98 ViEChannel vie_channel_; | 96 ViEChannel vie_channel_; |
| 99 ViEReceiver* const vie_receiver_; | 97 ViEReceiver* const vie_receiver_; |
| 100 ViEEncoder vie_encoder_; | 98 ViEEncoder vie_encoder_; |
| 101 VideoCodingModule* const vcm_; | 99 VideoCodingModule* const vcm_; |
| 102 VideoCaptureInput input_; | 100 VideoCaptureInput input_; |
| 103 }; | 101 }; |
| 104 } // namespace internal | 102 } // namespace internal |
| 105 } // namespace webrtc | 103 } // namespace webrtc |
| 106 | 104 |
| 107 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 105 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |