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 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 VideoSendStream(int num_cpu_cores, | 51 VideoSendStream(int num_cpu_cores, |
52 ProcessThread* module_process_thread, | 52 ProcessThread* module_process_thread, |
53 rtc::TaskQueue* worker_queue, | 53 rtc::TaskQueue* worker_queue, |
54 CallStats* call_stats, | 54 CallStats* call_stats, |
55 RtpTransportControllerSendInterface* transport, | 55 RtpTransportControllerSendInterface* transport, |
56 BitrateAllocator* bitrate_allocator, | 56 BitrateAllocator* bitrate_allocator, |
57 SendDelayStats* send_delay_stats, | 57 SendDelayStats* send_delay_stats, |
58 RtcEventLog* event_log, | 58 RtcEventLog* event_log, |
59 VideoSendStream::Config config, | 59 VideoSendStream::Config config, |
60 VideoEncoderConfig encoder_config, | 60 VideoEncoderConfig encoder_config, |
61 const std::map<uint32_t, RtpState>& suspended_ssrcs, | 61 const std::map<uint32_t, RtpState>& suspended_ssrcs); |
62 const RtpKeepAliveConfig& keepalive_config); | |
63 | 62 |
64 ~VideoSendStream() override; | 63 ~VideoSendStream() override; |
65 | 64 |
66 void SignalNetworkState(NetworkState state); | 65 void SignalNetworkState(NetworkState state); |
67 bool DeliverRtcp(const uint8_t* packet, size_t length); | 66 bool DeliverRtcp(const uint8_t* packet, size_t length); |
68 | 67 |
69 // webrtc::VideoSendStream implementation. | 68 // webrtc::VideoSendStream implementation. |
70 void Start() override; | 69 void Start() override; |
71 void Stop() override; | 70 void Stop() override; |
72 | 71 |
(...skipping 30 matching lines...) Expand all Loading... |
103 const VideoSendStream::Config config_; | 102 const VideoSendStream::Config config_; |
104 const VideoEncoderConfig::ContentType content_type_; | 103 const VideoEncoderConfig::ContentType content_type_; |
105 std::unique_ptr<VideoSendStreamImpl> send_stream_; | 104 std::unique_ptr<VideoSendStreamImpl> send_stream_; |
106 std::unique_ptr<VideoStreamEncoder> video_stream_encoder_; | 105 std::unique_ptr<VideoStreamEncoder> video_stream_encoder_; |
107 }; | 106 }; |
108 | 107 |
109 } // namespace internal | 108 } // namespace internal |
110 } // namespace webrtc | 109 } // namespace webrtc |
111 | 110 |
112 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 111 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
OLD | NEW |