Chromium Code Reviews| Index: media/base/media_switches.cc |
| diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc |
| index ad7a7eabac01244852ec5218397afbb0f014563c..941150311dbee5e01e7bbf853c86ebacc583b66d 100644 |
| --- a/media/base/media_switches.cc |
| +++ b/media/base/media_switches.cc |
| @@ -91,9 +91,17 @@ const char kUseCras[] = "use-cras"; |
| // Use fake device for Media Stream to replace actual camera and microphone. |
| const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
| -// Use a raw video file as fake video capture device. |
| +// Use an .y4m file to play as the webcam. See the comments in |
| +// media/video/capture/file_video_capture_device.h for more details. |
| const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; |
| +// Play a .wav file as the microphone. Note that for WebRTC calls we'll treat |
| +// the bits as if they came from the microphone, which means you should disable |
| +// audio processing (lest your audio file will play back distorted). Also the |
| +// wav file will have to have the same number of channels, bits per sample and |
| +// sampling frequency as the system's output device. |
|
DaleCurtis
2014/11/20 20:30:41
input device?
phoglund_chromium
2014/11/21 08:47:49
Yes, you are right. I thought of it as if the soun
|
| +const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; |
| + |
| // Enables support for inband text tracks in media content. |
| const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |