diff options
Diffstat (limited to 'content/renderer/media/media_stream_dispatcher.cc')
-rw-r--r-- | content/renderer/media/media_stream_dispatcher.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/media/media_stream_dispatcher.cc b/content/renderer/media/media_stream_dispatcher.cc index dcf9d09..d5eafe8 100644 --- a/content/renderer/media/media_stream_dispatcher.cc +++ b/content/renderer/media/media_stream_dispatcher.cc @@ -331,9 +331,9 @@ void MediaStreamDispatcher::OnDeviceOpened( if (request.ipc_request == request_id) { Stream new_stream; new_stream.handler = request.handler; - if (IsAudioMediaType(device_info.stream_type)) { + if (IsAudioMediaType(device_info.device.type)) { new_stream.audio_array.push_back(device_info); - } else if (IsVideoMediaType(device_info.stream_type)) { + } else if (IsVideoMediaType(device_info.device.type)) { new_stream.video_array.push_back(device_info); } else { NOTREACHED(); |