OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" | 5 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #include "media/base/media_permission.h" | 58 #include "media/base/media_permission.h" |
59 #include "media/filters/ffmpeg_glue.h" | 59 #include "media/filters/ffmpeg_glue.h" |
60 #include "media/renderers/gpu_video_accelerator_factories.h" | 60 #include "media/renderers/gpu_video_accelerator_factories.h" |
61 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" | 61 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" |
62 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 62 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
63 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 63 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
64 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 64 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
65 #include "third_party/WebKit/public/platform/WebURL.h" | 65 #include "third_party/WebKit/public/platform/WebURL.h" |
66 #include "third_party/WebKit/public/web/WebDocument.h" | 66 #include "third_party/WebKit/public/web/WebDocument.h" |
67 #include "third_party/WebKit/public/web/WebFrame.h" | 67 #include "third_party/WebKit/public/web/WebFrame.h" |
68 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" | 68 #include "third_party/webrtc/api/mediaconstraintsinterface.h" |
69 #include "third_party/webrtc/base/ssladapter.h" | 69 #include "third_party/webrtc/base/ssladapter.h" |
70 #include "third_party/webrtc/modules/video_coding/codecs/h264/include/h264.h" | 70 #include "third_party/webrtc/modules/video_coding/codecs/h264/include/h264.h" |
71 | 71 |
72 #if defined(OS_ANDROID) | 72 #if defined(OS_ANDROID) |
73 #include "media/base/android/media_codec_util.h" | 73 #include "media/base/android/media_codec_util.h" |
74 #endif | 74 #endif |
75 | 75 |
76 namespace content { | 76 namespace content { |
77 | 77 |
78 namespace { | 78 namespace { |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 } | 800 } |
801 | 801 |
802 void PeerConnectionDependencyFactory::EnsureWebRtcAudioDeviceImpl() { | 802 void PeerConnectionDependencyFactory::EnsureWebRtcAudioDeviceImpl() { |
803 if (audio_device_.get()) | 803 if (audio_device_.get()) |
804 return; | 804 return; |
805 | 805 |
806 audio_device_ = new WebRtcAudioDeviceImpl(); | 806 audio_device_ = new WebRtcAudioDeviceImpl(); |
807 } | 807 } |
808 | 808 |
809 } // namespace content | 809 } // namespace content |
OLD | NEW |