| 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 #include "webrtc/video/video_send_stream.h" | 11 #include "webrtc/video/video_send_stream.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <sstream> | 14 #include <sstream> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
| 19 #include "webrtc/base/logging.h" | 19 #include "webrtc/base/logging.h" |
| 20 #include "webrtc/base/trace_event.h" | 20 #include "webrtc/base/trace_event.h" |
| 21 #include "webrtc/call/congestion_controller.h" | 21 #include "webrtc/call/congestion_controller.h" |
| 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 23 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 23 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
| 24 #include "webrtc/modules/pacing/packet_router.h" | 24 #include "webrtc/modules/pacing/packet_router.h" |
| 25 #include "webrtc/video/call_stats.h" |
| 26 #include "webrtc/video/encoder_state_feedback.h" |
| 27 #include "webrtc/video/payload_router.h" |
| 25 #include "webrtc/video/video_capture_input.h" | 28 #include "webrtc/video/video_capture_input.h" |
| 26 #include "webrtc/video_engine/call_stats.h" | 29 #include "webrtc/video/vie_channel.h" |
| 27 #include "webrtc/video_engine/encoder_state_feedback.h" | 30 #include "webrtc/video/vie_encoder.h" |
| 28 #include "webrtc/video_engine/payload_router.h" | |
| 29 #include "webrtc/video_engine/vie_channel.h" | |
| 30 #include "webrtc/video_engine/vie_encoder.h" | |
| 31 #include "webrtc/video_send_stream.h" | 31 #include "webrtc/video_send_stream.h" |
| 32 | 32 |
| 33 namespace webrtc { | 33 namespace webrtc { |
| 34 | 34 |
| 35 class PacedSender; | 35 class PacedSender; |
| 36 class RtcpIntraFrameObserver; | 36 class RtcpIntraFrameObserver; |
| 37 class TransportFeedbackObserver; | 37 class TransportFeedbackObserver; |
| 38 | 38 |
| 39 std::string | 39 std::string |
| 40 VideoSendStream::Config::EncoderSettings::ToString() const { | 40 VideoSendStream::Config::EncoderSettings::ToString() const { |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 vie_encoder_->SetSsrcs(used_ssrcs); | 575 vie_encoder_->SetSsrcs(used_ssrcs); |
| 576 | 576 |
| 577 // Restart the media flow | 577 // Restart the media flow |
| 578 vie_encoder_->Restart(); | 578 vie_encoder_->Restart(); |
| 579 | 579 |
| 580 return true; | 580 return true; |
| 581 } | 581 } |
| 582 | 582 |
| 583 } // namespace internal | 583 } // namespace internal |
| 584 } // namespace webrtc | 584 } // namespace webrtc |
| OLD | NEW |