Home
last modified time | relevance | path

Searched refs:MediaStreamSource (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/mediastream/
DMediaStreamSource.cpp37 PassRefPtr<MediaStreamSource> MediaStreamSource::create(const String& id, Type type, const String& … in create()
39 return adoptRef(new MediaStreamSource(id, type, name, readyState, requiresConsumer)); in create()
42 MediaStreamSource::MediaStreamSource(const String& id, Type type, const String& name, ReadyState re… in MediaStreamSource() function in blink::MediaStreamSource
51 void MediaStreamSource::setReadyState(ReadyState readyState) in setReadyState()
60 void MediaStreamSource::addObserver(MediaStreamSource::Observer* observer) in addObserver()
65 void MediaStreamSource::removeObserver(MediaStreamSource::Observer* observer) in removeObserver()
72 void MediaStreamSource::addAudioConsumer(AudioDestinationConsumer* consumer) in addAudioConsumer()
79 bool MediaStreamSource::removeAudioConsumer(AudioDestinationConsumer* consumer) in removeAudioConsumer()
90 void MediaStreamSource::setAudioFormat(size_t numberOfChannels, float sampleRate) in setAudioFormat()
98 void MediaStreamSource::consumeAudio(AudioBus* bus, size_t numberOfFrames) in consumeAudio()
DMediaStreamComponent.h44 class MediaStreamSource; variable
54 static PassRefPtr<MediaStreamComponent> create(PassRefPtr<MediaStreamSource>);
55 static PassRefPtr<MediaStreamComponent> create(const String& id, PassRefPtr<MediaStreamSource>);
57 MediaStreamSource* source() const { return m_source.get(); } in source()
73 MediaStreamComponent(const String& id, PassRefPtr<MediaStreamSource>);
102 RefPtr<MediaStreamSource> m_source;
DMediaStreamSource.h47 class PLATFORM_EXPORT MediaStreamSource FINAL : public RefCounted<MediaStreamSource> {
71 …static PassRefPtr<MediaStreamSource> create(const String& id, Type, const String& name, ReadyState…
98MediaStreamSource(const String& id, Type, const String& name, ReadyState, bool requiresConsumer);
112 typedef Vector<RefPtr<MediaStreamSource> > MediaStreamSourceVector;
DMediaStreamDescriptor.cpp58 case MediaStreamSource::TypeAudio: in addComponent()
62 case MediaStreamSource::TypeVideo: in addComponent()
73 case MediaStreamSource::TypeAudio: in removeComponent()
78 case MediaStreamSource::TypeVideo: in removeComponent()
DMediaStreamComponent.cpp43 PassRefPtr<MediaStreamComponent> MediaStreamComponent::create(PassRefPtr<MediaStreamSource> source) in create()
48 …reamComponent> MediaStreamComponent::create(const String& id, PassRefPtr<MediaStreamSource> source) in create()
53 MediaStreamComponent::MediaStreamComponent(const String& id, PassRefPtr<MediaStreamSource> source) in MediaStreamComponent()
/external/chromium_org/content/renderer/media/
Dmedia_stream_source.cc11 const char MediaStreamSource::kSourceId[] = "sourceId";
13 MediaStreamSource::MediaStreamSource() { in MediaStreamSource() function in content::MediaStreamSource
16 MediaStreamSource::~MediaStreamSource() {} in ~MediaStreamSource()
18 void MediaStreamSource::StopSource() { in StopSource()
Dmedia_stream_source.h21 class CONTENT_EXPORT MediaStreamSource
27 typedef base::Callback<void(MediaStreamSource* source, in NON_EXPORTED_BASE()
36 MediaStreamSource(); in NON_EXPORTED_BASE()
37 virtual ~MediaStreamSource(); in NON_EXPORTED_BASE()
76 DISALLOW_COPY_AND_ASSIGN(MediaStreamSource); in NON_EXPORTED_BASE()
Duser_media_client_impl.h121 const MediaStreamSource::SourceStoppedCallback& stop_callback);
164 MediaStreamSource* source,
174 std::vector<MediaStreamSource*> sources_waiting_for_callback_;
Duser_media_client_impl.cc581 const MediaStreamSource::SourceStoppedCallback& stop_callback) { in CreateVideoSource()
797 MediaStreamSource* const source = in FindLocalSource()
798 static_cast<MediaStreamSource*>(it->extraData()); in FindLocalSource()
939 MediaStreamSource* source_impl = in OnLocalSourceStopped()
940 static_cast<MediaStreamSource*>(source.extraData()); in OnLocalSourceStopped()
947 MediaStreamSource* source_impl = in StopLocalSource()
948 static_cast<MediaStreamSource*>(source.extraData()); in StopLocalSource()
1017 MediaStreamSource* source, in OnTrackStarted()
1021 std::vector<MediaStreamSource*>::iterator it = in OnTrackStarted()
Dmedia_stream_audio_source.h18 : NON_EXPORTED_BASE(public MediaStreamSource) { in NON_EXPORTED_BASE() argument
Dmedia_stream_video_source.h45 : public MediaStreamSource,
Dmedia_stream_video_capture_source_unittest.cc87 void OnConstraintsApplied(MediaStreamSource* source, in OnConstraintsApplied()
Dmedia_stream_audio_processor_options.cc166 key == MediaStreamSource::kSourceId) { in IsValid()
Dmedia_stream_video_track_unittest.cc76 MediaStreamSource::ConstraintsCallback(), enabled); in CreateTrack()
/external/chromium_org/third_party/WebKit/public/platform/
DWebMediaStreamSource.h41 class MediaStreamSource; variable
56 BLINK_PLATFORM_EXPORT void setOwner(MediaStreamSource*);
60 MediaStreamSource* m_owner;
114 BLINK_PLATFORM_EXPORT WebMediaStreamSource(const WTF::PassRefPtr<MediaStreamSource>&);
115 BLINK_PLATFORM_EXPORT WebMediaStreamSource& operator=(MediaStreamSource*);
116 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<MediaStreamSource>() const;
117 BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const;
121 WebPrivatePtr<MediaStreamSource> m_private;
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
DMediaStreamTrack.cpp53 , m_readyState(MediaStreamSource::ReadyStateLive) in MediaStreamTrack()
72 case MediaStreamSource::TypeAudio: in kind()
74 case MediaStreamSource::TypeVideo: in kind()
119 case MediaStreamSource::ReadyStateLive: in readyState()
121 case MediaStreamSource::ReadyStateMuted: in readyState()
123 case MediaStreamSource::ReadyStateEnded: in readyState()
148 m_readyState = MediaStreamSource::ReadyStateEnded; in stopTrack()
164 return m_stopped || (m_readyState == MediaStreamSource::ReadyStateEnded); in ended()
174 case MediaStreamSource::ReadyStateLive: in sourceChangedState()
177 case MediaStreamSource::ReadyStateMuted: in sourceChangedState()
[all …]
DMediaStream.cpp38 static bool containsSource(MediaStreamTrackVector& trackVector, MediaStreamSource* source) in containsSource()
52 MediaStreamSource* source = track->component()->source(); in processTrack()
184 case MediaStreamSource::TypeAudio: in addTrack()
187 case MediaStreamSource::TypeVideo: in addTrack()
210 case MediaStreamSource::TypeAudio: in removeTrack()
215 case MediaStreamSource::TypeVideo: in removeTrack()
316 case MediaStreamSource::TypeAudio: in addRemoteTrack()
319 case MediaStreamSource::TypeVideo: in addRemoteTrack()
336 case MediaStreamSource::TypeAudio: in removeRemoteTrack()
339 case MediaStreamSource::TypeVideo: in removeRemoteTrack()
DMediaStreamTrack.h47 , public MediaStreamSource::Observer {
99 MediaStreamSource::ReadyState m_readyState;
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebMediaStreamSource.cpp48 class ExtraDataContainer : public MediaStreamSource::ExtraData {
66 void WebMediaStreamSource::ExtraData::setOwner(MediaStreamSource* owner) in setOwner()
72 WebMediaStreamSource::WebMediaStreamSource(const PassRefPtr<MediaStreamSource>& mediaStreamSource) in WebMediaStreamSource()
77 WebMediaStreamSource& WebMediaStreamSource::operator=(MediaStreamSource* mediaStreamSource) in operator =()
93 WebMediaStreamSource::operator PassRefPtr<MediaStreamSource>() const in operator PassRefPtr<MediaStreamSource>()
98 WebMediaStreamSource::operator MediaStreamSource*() const in operator MediaStreamSource*()
105 m_private = MediaStreamSource::create(id, static_cast<MediaStreamSource::Type>(type), name); in initialize()
129 m_private->setReadyState(static_cast<MediaStreamSource::ReadyState>(state)); in setReadyState()
141 MediaStreamSource::ExtraData* data = m_private->extraData(); in extraData()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DMediaStreamAudioDestinationNode.cpp49MediaStreamSource::create("WebAudio-" + createCanonicalUUIDString(), MediaStreamSource::TypeAudio… in MediaStreamAudioDestinationNode()
DMediaStreamAudioDestinationNode.h63 RefPtr<MediaStreamSource> m_source;
/external/chromium_org/content/renderer/pepper/
Dpepper_media_stream_video_track_host.h89 void OnTrackStarted(MediaStreamSource* source,
/external/chromium_org/third_party/WebKit/Source/web/
DAssertMatchingEnums.cpp548 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeAudio, MediaStreamSource::TypeAudio);
549 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeVideo, MediaStreamSource::TypeVideo);
550 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateLive, MediaStreamSource::ReadyStateLiv…
551 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateMuted, MediaStreamSource::ReadyStateMu…
552 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateEnded, MediaStreamSource::ReadyStateEn…
/external/chromium_org/content/renderer/media/webrtc/
Dmedia_stream_remote_video_source_unittest.cc92 void OnConstraintsApplied(MediaStreamSource* source, in OnConstraintsApplied()
Dwebrtc_media_stream_adapter_unittest.cc58 MediaStreamSource::SourceStoppedCallback dummy_callback; in CreateBlinkMediaStream()

12