Lines Matching full:device_info
20 bool RemoveStreamDeviceFromArray(const StreamDeviceInfo device_info,
24 if (StreamDeviceInfo::IsEqual(*device_it, device_info)) {
107 const StreamDeviceInfo& device_info) {
109 << ", {device_id = " << device_info.device.id << "}";
110 // Remove |device_info| from all streams in |label_stream_map_|.
117 if (RemoveStreamDeviceFromArray(device_info, &audio_array) ||
118 RemoveStreamDeviceFromArray(device_info, &video_array)) {
130 device_info.device.id));
291 const StreamDeviceInfo& device_info) {
295 << ", {device_id = " << device_info.device.id << "})";
304 if (IsAudioInputMediaType(device_info.device.type))
305 RemoveStreamDeviceFromArray(device_info, &stream->audio_array);
307 RemoveStreamDeviceFromArray(device_info, &stream->video_array);
310 stream->handler->OnDeviceStopped(label, device_info);
334 const StreamDeviceInfo& device_info) {
342 if (IsAudioInputMediaType(device_info.device.type)) {
343 new_stream.audio_array.push_back(device_info);
344 } else if (IsVideoMediaType(device_info.device.type)) {
345 new_stream.video_array.push_back(device_info);
351 request.handler->OnDeviceOpened(request.request_id, label, device_info);