Home
last modified time | relevance | path

Searched refs:video_tracks (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/content/renderer/media/
Dmedia_stream_center.cc172 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in didStopLocalMediaStream() local
173 stream.videoTracks(video_tracks); in didStopLocalMediaStream()
174 for (size_t i = 0; i < video_tracks.size(); ++i) in didStopLocalMediaStream()
175 didStopMediaStreamTrack(video_tracks[i]); in didStopLocalMediaStream()
185 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in didCreateMediaStream() local
186 stream.videoTracks(video_tracks); in didCreateMediaStream()
187 for (size_t i = 0; i < video_tracks.size(); ++i) { in didCreateMediaStream()
188 if (!MediaStreamTrack::GetTrack(video_tracks[i])) in didCreateMediaStream()
189 CreateNativeMediaStreamTrack(video_tracks[i], rtc_factory_); in didCreateMediaStream()
Dmedia_stream_renderer_factory.cc128 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in GetVideoFrameProvider() local
129 web_stream.videoTracks(video_tracks); in GetVideoFrameProvider()
130 if (video_tracks.isEmpty() || in GetVideoFrameProvider()
131 !MediaStreamVideoTrack::GetTrack(video_tracks[0])) { in GetVideoFrameProvider()
135 return new RTCVideoRenderer(video_tracks[0], error_cb, repaint_cb); in GetVideoFrameProvider()
Dvideo_source_handler.cc123 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in GetFirstVideoTrack() local
124 stream.videoTracks(video_tracks); in GetFirstVideoTrack()
125 if (video_tracks.isEmpty()) { in GetFirstVideoTrack()
131 return video_tracks[0]; in GetFirstVideoTrack()
Dmedia_stream_impl_unittest.cc155 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in RequestLocalMediaStream() local
156 desc.videoTracks(video_tracks); in RequestLocalMediaStream()
159 EXPECT_EQ(1u, video_tracks.size()); in RequestLocalMediaStream()
160 EXPECT_NE(audio_tracks[0].id(), video_tracks[0].id()); in RequestLocalMediaStream()
279 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
280 mixed_desc.videoTracks(video_tracks); in TEST_F()
281 MediaStreamTrack* video_track = MediaStreamTrack::GetTrack(video_tracks[0]); in TEST_F()
426 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
427 mixed_desc.videoTracks(video_tracks); in TEST_F()
428 MediaStreamTrack* video_track = MediaStreamTrack::GetTrack(video_tracks[0]); in TEST_F()
Drtc_peer_connection_handler_unittest.cc249 blink::WebVector<blink::WebMediaStreamTrack> video_tracks( in CreateLocalMediaStream() local
253 video_tracks[0] = MediaStreamVideoTrack::CreateVideoTrack( in CreateLocalMediaStream()
259 video_tracks); in CreateLocalMediaStream()
444 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
445 local_stream.videoTracks(video_tracks); in TEST_F()
448 video_tracks[0].source().extraData()); in TEST_F()
718 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
719 webkit_stream.videoTracks(video_tracks); in TEST_F()
721 video_tracks[0].source().readyState()); in TEST_F()
731 video_tracks[0].source().readyState()); in TEST_F()
[all …]
/external/chromium_org/content/renderer/media/webrtc/
Dwebrtc_media_stream_adapter_unittest.cc120 blink::WebVector<blink::WebMediaStreamTrack> video_tracks( in TEST_F() local
124 blink_stream.initialize("new stream", audio_tracks, video_tracks); in TEST_F()
142 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
143 blink_stream.videoTracks(video_tracks); in TEST_F()
145 native_stream->RemoveTrack(video_tracks[0]); in TEST_F()
151 native_stream->AddTrack(video_tracks[0]); in TEST_F()
Dvideo_destination_handler_unittest.cc76 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
77 test_stream.videoTracks(video_tracks); in TEST_F()
78 ASSERT_EQ(1u, video_tracks.size()); in TEST_F()
82 MediaStreamVideoTrack::GetVideoTrack(video_tracks[0]); in TEST_F()
Dwebrtc_media_stream_adapter.cc30 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in WebRtcMediaStreamAdapter() local
31 web_stream_.videoTracks(video_tracks); in WebRtcMediaStreamAdapter()
32 for (size_t i = 0; i < video_tracks.size(); ++i) in WebRtcMediaStreamAdapter()
33 CreateVideoTrack(video_tracks[i]); in WebRtcMediaStreamAdapter()
/external/chromium_org/content/test/
Dtest_media_stream_renderer_factory.cc28 WebVector<WebMediaStreamTrack> video_tracks; in IsMockMediaStreamWithVideo() local
29 descriptor.videoTracks(video_tracks); in IsMockMediaStreamWithVideo()
30 return video_tracks.size() > 0; in IsMockMediaStreamWithVideo()
/external/chromium_org/content/shell/renderer/test_runner/
Dmock_web_user_media_client.cc144 WebVector<WebMediaStreamTrack> video_tracks(request.video() ? one : zero); in requestUserMedia() local
159 video_tracks[0].initialize(source); in requestUserMedia()
163 stream.initialize(audio_tracks, video_tracks); in requestUserMedia()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/
DRTCMediaStream.mm116 webrtc::VideoTrackVector video_tracks = mediaStream->GetVideoTracks();
119 _videoTracks = [NSMutableArray arrayWithCapacity:video_tracks.size()];
130 for (size_t i = 0; i < video_tracks.size(); ++i) {
132 video_tracks[i];
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling.cc319 VideoTrackVector video_tracks = local_stream->GetVideoTracks(); in AddLocalStream() local
320 for (VideoTrackVector::const_iterator it = video_tracks.begin(); in AddLocalStream()
321 it != video_tracks.end(); ++it) { in AddLocalStream()
346 VideoTrackVector video_tracks = local_stream->GetVideoTracks(); in RemoveLocalStream() local
347 for (VideoTrackVector::const_iterator it = video_tracks.begin(); in RemoveLocalStream()
348 it != video_tracks.end(); ++it) { in RemoveLocalStream()
536 VideoTrackVector video_tracks(stream->GetVideoTracks()); in UpdateSessionOptions() local
537 if (!video_tracks.empty()) { in UpdateSessionOptions()
541 for (size_t j = 0; j < video_tracks.size(); ++j) { in UpdateSessionOptions()
542 scoped_refptr<MediaStreamTrackInterface> track(video_tracks[j]); in UpdateSessionOptions()
Dmediastreamsignaling_unittest.cc203 VideoTrackVector video_tracks = stream->GetVideoTracks(); in VerifyMediaOptions() local
204 ASSERT_GE(options.streams.size(), stream_index + video_tracks.size()); in VerifyMediaOptions()
205 for (size_t j = 0; j < video_tracks.size(); ++j) { in VerifyMediaOptions()
206 webrtc::VideoTrackInterface* video = video_tracks[j]; in VerifyMediaOptions()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc638 VideoTrackVector video_tracks = stream->GetVideoTracks(); in OnAddStream() local
639 for (size_t i = 0; i < video_tracks.size(); ++i) { in OnAddStream()
640 VideoTrackInterface* track = video_tracks[i]; in OnAddStream()
649 jobject video_tracks = GetObjectField(jni(), j_stream, video_tracks_id); in OnAddStream() local
651 GetObjectClass(jni(), video_tracks), in OnAddStream()
654 jboolean added = jni()->CallBooleanMethod(video_tracks, add, j_track); in OnAddStream()