| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 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/pc/peerconnectionfactory.h" | 11 #include "webrtc/pc/peerconnectionfactory.h" |
| 12 | 12 |
| 13 #include <utility> | 13 #include <utility> |
| 14 | 14 |
| 15 #include "webrtc/api/mediaconstraintsinterface.h" | 15 #include "webrtc/api/mediaconstraintsinterface.h" |
| 16 #include "webrtc/api/mediastreamproxy.h" | 16 #include "webrtc/api/mediastreamproxy.h" |
| 17 #include "webrtc/api/mediastreamtrackproxy.h" | 17 #include "webrtc/api/mediastreamtrackproxy.h" |
| 18 #include "webrtc/api/peerconnectionfactoryproxy.h" | 18 #include "webrtc/api/peerconnectionfactoryproxy.h" |
| 19 #include "webrtc/api/peerconnectionproxy.h" | 19 #include "webrtc/api/peerconnectionproxy.h" |
| 20 #include "webrtc/api/videosourceproxy.h" | 20 #include "webrtc/api/videosourceproxy.h" |
| 21 #include "webrtc/base/bind.h" | |
| 22 #include "webrtc/base/checks.h" | |
| 23 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 21 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
| 22 #include "webrtc/rtc_base/bind.h" |
| 23 #include "webrtc/rtc_base/checks.h" |
| 24 // Adding 'nogncheck' to disable the gn include headers check to support modular | 24 // Adding 'nogncheck' to disable the gn include headers check to support modular |
| 25 // WebRTC build targets. | 25 // WebRTC build targets. |
| 26 // TODO(zhihuang): This wouldn't be necessary if the interface and | 26 // TODO(zhihuang): This wouldn't be necessary if the interface and |
| 27 // implementation of the media engine were in separate build targets. | 27 // implementation of the media engine were in separate build targets. |
| 28 #include "webrtc/media/engine/webrtcmediaengine.h" // nogncheck | 28 #include "webrtc/media/engine/webrtcmediaengine.h" // nogncheck |
| 29 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" // nogncheck | 29 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" // nogncheck |
| 30 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" // nogncheck | 30 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" // nogncheck |
| 31 #include "webrtc/modules/audio_device/include/audio_device.h" // nogncheck | 31 #include "webrtc/modules/audio_device/include/audio_device.h" // nogncheck |
| 32 #include "webrtc/p2p/base/basicpacketsocketfactory.h" | 32 #include "webrtc/p2p/base/basicpacketsocketfactory.h" |
| 33 #include "webrtc/p2p/client/basicportallocator.h" | 33 #include "webrtc/p2p/client/basicportallocator.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 } | 343 } |
| 344 call_config.audio_state = channel_manager_->media_engine()->GetAudioState(); | 344 call_config.audio_state = channel_manager_->media_engine()->GetAudioState(); |
| 345 call_config.bitrate_config.min_bitrate_bps = kMinBandwidthBps; | 345 call_config.bitrate_config.min_bitrate_bps = kMinBandwidthBps; |
| 346 call_config.bitrate_config.start_bitrate_bps = kStartBandwidthBps; | 346 call_config.bitrate_config.start_bitrate_bps = kStartBandwidthBps; |
| 347 call_config.bitrate_config.max_bitrate_bps = kMaxBandwidthBps; | 347 call_config.bitrate_config.max_bitrate_bps = kMaxBandwidthBps; |
| 348 | 348 |
| 349 return std::unique_ptr<Call>(call_factory_->CreateCall(call_config)); | 349 return std::unique_ptr<Call>(call_factory_->CreateCall(call_config)); |
| 350 } | 350 } |
| 351 | 351 |
| 352 } // namespace webrtc | 352 } // namespace webrtc |
| OLD | NEW |