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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 ~VideoSendStream() override; | 66 ~VideoSendStream() override; |
67 | 67 |
68 void SignalNetworkState(NetworkState state); | 68 void SignalNetworkState(NetworkState state); |
69 bool DeliverRtcp(const uint8_t* packet, size_t length); | 69 bool DeliverRtcp(const uint8_t* packet, size_t length); |
70 | 70 |
71 // webrtc::VideoSendStream implementation. | 71 // webrtc::VideoSendStream implementation. |
72 void Start() override; | 72 void Start() override; |
73 void Stop() override; | 73 void Stop() override; |
74 | 74 |
75 void SetSource( | 75 void SetSource(rtc::VideoSourceInterface<webrtc::VideoFrame>* source, |
76 rtc::VideoSourceInterface<webrtc::VideoFrame>* source) override; | 76 const DegradationPreference& degradation_preference) override; |
77 | 77 |
78 void ReconfigureVideoEncoder(VideoEncoderConfig) override; | 78 void ReconfigureVideoEncoder(VideoEncoderConfig) override; |
79 Stats GetStats() override; | 79 Stats GetStats() override; |
80 | 80 |
81 typedef std::map<uint32_t, RtpState> RtpStateMap; | 81 typedef std::map<uint32_t, RtpState> RtpStateMap; |
82 | 82 |
83 // Takes ownership of each file, is responsible for closing them later. | 83 // Takes ownership of each file, is responsible for closing them later. |
84 // Calling this method will close and finalize any current logs. | 84 // Calling this method will close and finalize any current logs. |
85 // Giving rtc::kInvalidPlatformFileValue in any position disables logging | 85 // Giving rtc::kInvalidPlatformFileValue in any position disables logging |
86 // for the corresponding stream. | 86 // for the corresponding stream. |
(...skipping 15 matching lines...) Expand all Loading... |
102 SendStatisticsProxy stats_proxy_; | 102 SendStatisticsProxy stats_proxy_; |
103 const VideoSendStream::Config config_; | 103 const VideoSendStream::Config config_; |
104 std::unique_ptr<VideoSendStreamImpl> send_stream_; | 104 std::unique_ptr<VideoSendStreamImpl> send_stream_; |
105 std::unique_ptr<ViEEncoder> vie_encoder_; | 105 std::unique_ptr<ViEEncoder> vie_encoder_; |
106 }; | 106 }; |
107 | 107 |
108 } // namespace internal | 108 } // namespace internal |
109 } // namespace webrtc | 109 } // namespace webrtc |
110 | 110 |
111 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 111 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
OLD | NEW |