Lines Matching refs:video_type
83 MediaStreamType* video_type) {
85 *video_type = MEDIA_NO_SERVICE;
113 *video_type = content::MEDIA_TAB_VIDEO_CAPTURE;
115 *video_type = content::MEDIA_DESKTOP_VIDEO_CAPTURE;
117 *video_type = content::MEDIA_DESKTOP_VIDEO_CAPTURE;
121 *video_type = MEDIA_DEVICE_VIDEO_CAPTURE;
235 void SetVideoType(MediaStreamType video_type) {
236 DCHECK(IsVideoMediaType(video_type) || video_type == MEDIA_NO_SERVICE);
237 video_type_ = video_type;
240 MediaStreamType video_type() const { return video_type_; }
704 DCHECK_EQ(MEDIA_NO_SERVICE, request->video_type());
721 DCHECK_EQ(MEDIA_NO_SERVICE, request->video_type());
725 DCHECK_EQ(MEDIA_DEVICE_VIDEO_CAPTURE, request->video_type());
1041 request->video_type() == MEDIA_DEVICE_VIDEO_CAPTURE) {
1087 request->video_type() };
1144 const MediaStreamType video_type = request->video_type();
1149 if (IsVideoMediaType(video_type))
1150 request->SetState(video_type, MEDIA_REQUEST_STATE_PENDING_APPROVAL);
1203 MediaStreamType video_type = MEDIA_NO_SERVICE;
1204 ParseStreamType(request->options, &audio_type, &video_type);
1206 request->SetVideoType(video_type);
1210 video_type == MEDIA_TAB_VIDEO_CAPTURE;
1219 video_type == MEDIA_DESKTOP_VIDEO_CAPTURE;
1233 EnumerationRequired(&video_enumeration_cache_, video_type)) {
1245 if (video_type != MEDIA_NO_SERVICE) {
1247 GetLogMessageString(video_type, video_enumeration_cache_.devices);
1264 (request->video_type() == MEDIA_DEVICE_VIDEO_CAPTURE ||
1265 request->video_type() == MEDIA_NO_SERVICE));
1275 !GetRequestedDeviceCaptureId(request, request->video_type(),
1289 request->video_type() == MEDIA_TAB_VIDEO_CAPTURE);
1313 (request->video_type() != MEDIA_TAB_VIDEO_CAPTURE &&
1314 request->video_type() != MEDIA_NO_SERVICE)) {
1332 request->video_type() == MEDIA_DESKTOP_VIDEO_CAPTURE);
1337 if (request->video_type() != MEDIA_DESKTOP_VIDEO_CAPTURE ||
1345 if (request->video_type() == MEDIA_DESKTOP_VIDEO_CAPTURE) {
1476 request->video_type() == MEDIA_NO_SERVICE) ||
1478 request->video_type() == MEDIA_DEVICE_VIDEO_CAPTURE));
1678 request->video_type(),
1730 it->second->video_type() == stream_type)) {
1750 request->state(request->video_type()) ==
1898 } else if (device_info.device.type == request->video_type()) {
1938 if (!found_video && IsVideoMediaType(request->video_type()))
1939 request->SetState(request->video_type(), MEDIA_REQUEST_STATE_ERROR);
2020 const bool requested_video = IsVideoMediaType(request.video_type());
2031 request.state(request.video_type()) == MEDIA_REQUEST_STATE_DONE ||
2032 request.state(request.video_type()) == MEDIA_REQUEST_STATE_ERROR;
2073 void MediaStreamManager::OnMediaStreamUIWindowId(MediaStreamType video_type,
2081 if (video_type == MEDIA_DESKTOP_VIDEO_CAPTURE) {