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.cc169 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in didStopLocalMediaStream() local
170 stream.videoTracks(video_tracks); in didStopLocalMediaStream()
171 for (size_t i = 0; i < video_tracks.size(); ++i) in didStopLocalMediaStream()
172 didStopMediaStreamTrack(video_tracks[i]); in didStopLocalMediaStream()
182 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in didCreateMediaStream() local
183 stream.videoTracks(video_tracks); in didCreateMediaStream()
184 for (size_t i = 0; i < video_tracks.size(); ++i) { in didCreateMediaStream()
185 if (!MediaStreamTrack::GetTrack(video_tracks[i])) in didCreateMediaStream()
186 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()
Duser_media_client_impl_unittest.cc196 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in RequestLocalMediaStream() local
197 desc.videoTracks(video_tracks); in RequestLocalMediaStream()
200 EXPECT_EQ(1u, video_tracks.size()); in RequestLocalMediaStream()
201 EXPECT_NE(audio_tracks[0].id(), video_tracks[0].id()); in RequestLocalMediaStream()
335 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
336 mixed_desc.videoTracks(video_tracks); in TEST_F()
337 MediaStreamTrack* video_track = MediaStreamTrack::GetTrack(video_tracks[0]); in TEST_F()
482 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
483 mixed_desc.videoTracks(video_tracks); in TEST_F()
484 MediaStreamTrack* video_track = MediaStreamTrack::GetTrack(video_tracks[0]); in TEST_F()
Drtc_peer_connection_handler_unittest.cc258 blink::WebVector<blink::WebMediaStreamTrack> video_tracks( in CreateLocalMediaStream() local
262 video_tracks[0] = MediaStreamVideoTrack::CreateVideoTrack( in CreateLocalMediaStream()
268 video_tracks); in CreateLocalMediaStream()
454 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
455 local_stream.videoTracks(video_tracks); in TEST_F()
458 video_tracks[0].source().extraData()); in TEST_F()
728 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
729 webkit_stream.videoTracks(video_tracks); in TEST_F()
731 video_tracks[0].source().readyState()); in TEST_F()
741 video_tracks[0].source().readyState()); in TEST_F()
[all …]
/external/chromium_org/content/renderer/media/webrtc/
Dwebrtc_media_stream_adapter_unittest.cc126 blink::WebVector<blink::WebMediaStreamTrack> video_tracks( in TEST_F() local
130 blink_stream.initialize("new stream", audio_tracks, video_tracks); in TEST_F()
148 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
149 blink_stream.videoTracks(video_tracks); in TEST_F()
151 native_stream->RemoveTrack(video_tracks[0]); in TEST_F()
157 native_stream->AddTrack(video_tracks[0]); in TEST_F()
Dvideo_destination_handler_unittest.cc78 blink::WebVector<blink::WebMediaStreamTrack> video_tracks; in TEST_F() local
79 test_stream.videoTracks(video_tracks); in TEST_F()
80 ASSERT_EQ(1u, video_tracks.size()); in TEST_F()
84 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/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/content/shell/renderer/test_runner/
Dmock_web_user_media_client.cc169 WebVector<WebMediaStreamTrack> video_tracks(request.video() ? one : zero); in requestUserMedia() local
184 video_tracks[0].initialize(source); in requestUserMedia()
188 stream.initialize(audio_tracks, video_tracks); in requestUserMedia()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling.cc155 VideoTrackVector video_tracks(stream->GetVideoTracks()); in SetStreams() local
158 for (size_t j = 0; j < video_tracks.size(); ++j) { in SetStreams()
159 scoped_refptr<MediaStreamTrackInterface> track(video_tracks[j]); in SetStreams()
377 VideoTrackVector video_tracks = local_stream->GetVideoTracks(); in AddLocalStream() local
378 for (VideoTrackVector::const_iterator it = video_tracks.begin(); in AddLocalStream()
379 it != video_tracks.end(); ++it) { in AddLocalStream()
404 VideoTrackVector video_tracks = local_stream->GetVideoTracks(); in RemoveLocalStream() local
405 for (VideoTrackVector::const_iterator it = video_tracks.begin(); in RemoveLocalStream()
406 it != video_tracks.end(); ++it) { in RemoveLocalStream()
Dmediastreamsignaling_unittest.cc221 VideoTrackVector video_tracks = stream->GetVideoTracks(); in VerifyMediaOptions() local
222 ASSERT_GE(options.streams.size(), stream_index + video_tracks.size()); in VerifyMediaOptions()
223 for (size_t j = 0; j < video_tracks.size(); ++j) { in VerifyMediaOptions()
224 webrtc::VideoTrackInterface* video = video_tracks[j]; in VerifyMediaOptions()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc651 VideoTrackVector video_tracks = stream->GetVideoTracks(); in OnAddStream() local
652 for (size_t i = 0; i < video_tracks.size(); ++i) { in OnAddStream()
653 VideoTrackInterface* track = video_tracks[i]; in OnAddStream()
662 jobject video_tracks = GetObjectField(jni(), j_stream, video_tracks_id); in OnAddStream() local
664 GetObjectClass(jni(), video_tracks), in OnAddStream()
667 jboolean added = jni()->CallBooleanMethod(video_tracks, add, j_track); in OnAddStream()