You can configure Real-Time Audio-Video settings at the command line by using the Mac defaults system. With the defaults system, you can read, write, and delete Mac user defaults by using Terminal (/Applications/Utilities/Terminal.app).
Mac defaults belong to domains, and domains typically correspond to individual applications. The domain for the Real-Time Audio-Video feature is com.vmware.rtav.
Syntax for Configuring Real-Time Audio-Video
You can use the following commands to configure the Real-Time Audio-Video feature.
Command | Description |
---|---|
defaults write com.vmware.rtav scrWCamId "webcam-userid" | Sets the preferred webcam to use on remote desktops. When this value is not set, the webcam is selected by system enumeration automatically. You can specify any webcam connected to (or built into) the client system. |
defaults write com.vmware.rtav srcAudioInId "audio-device-userid" | Sets the preferred microphone (audio-in device) to use on remote desktops. When this value is not set, remote desktops use the default recording device set on the client system. You can specify any microphone connected to (or built into) the client system. |
defaults write com.vmware.rtav srcWCamFrameWidth pixels | Sets the image width. The value defaults to a hardcoded value of 320 pixels. You can change the image width to any pixel value. |
defaults write com.vmware.rtav srcWCamFrameHeight pixels | Sets the image height. The value defaults to a hardcoded value of 240 pixels. You can change the image height to any pixel value. |
defaults write com.vmware.rtav srcWCamFrameRate fps | Sets the frame rate. The value defaults to 15 fps. You can change the frame rate to any value. |
defaults write com.vmware.rtav LogLevel "level" | Sets the logging level for the Real-Time Audio-Video log file (~/Library/Logs/VMware/vmware-RTAV-pid.log). You can set the logging level to trace or debug. |
defaults write com.vmware.rtav IsDisabled value | Determines whether Real-Time Audio-Video is enabled or disabled. Real-Time Audio-Video is enabled by default. (This value is not in effect.) To disable Real-Time Audio-Video on the client, set the value to true. |
defaults read com.vmware.rtav | Displays Real-Time Audio-Video configuration settings. |
defaults delete com.vmware.rtav setting | Deletes a Real-Time Audio-Video configuration setting, for example: defaults delete com.vmware.rtav srcWCamFrameWidth |
Note: You can adjust frame rates from 1 fps up to a maximum of 25 fps and resolution up to a maximum of 1920x1080. A high resolution at a fast frame rate might not be supported on all devices or in all environments.