Object containing various parameters of a Recorder.
More...
#include <recorder_params.hh>
Object containing various parameters of a Recorder.
- See also
- Core::createRecorder()
◆ clone()
◆ getAudioDevice()
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::AudioDevice> linphone::RecorderParams::getAudioDevice |
( |
| ) |
const |
◆ getFileFormat()
Retrieves the #LinphoneRecorderFileFormat.
- Returns
- the #LinphoneRecorderFileFormat.
◆ getVideoCodec()
LINPHONECXX_PUBLIC std::string linphone::RecorderParams::getVideoCodec |
( |
| ) |
const |
Retrieves the video codec.
- Returns
- the video codec.
◆ getWebcamName()
LINPHONECXX_PUBLIC std::string linphone::RecorderParams::getWebcamName |
( |
| ) |
const |
Retrieves the webcam name.
- Returns
- the webcam name.
◆ getWindowId()
LINPHONECXX_PUBLIC void* linphone::RecorderParams::getWindowId |
( |
| ) |
const |
Retrieves the window id used to display the camera preview.
- Returns
- the window id.
◆ setAudioDevice()
LINPHONECXX_PUBLIC void linphone::RecorderParams::setAudioDevice |
( |
const std::shared_ptr< const linphone::AudioDevice > & |
device | ) |
|
◆ setFileFormat()
Set the #LinphoneRecorderFileFormat.
- See also
- Core::getSupportedFileFormatsList() for information about supported file formats.
- Parameters
-
format | The #LinphoneRecorderFileFormat to set. |
◆ setVideoCodec()
LINPHONECXX_PUBLIC void linphone::RecorderParams::setVideoCodec |
( |
const std::string & |
videoCodec | ) |
|
Set the video codec.
- Parameters
-
videoCodec | The video codec to set. |
◆ setWebcamName()
LINPHONECXX_PUBLIC void linphone::RecorderParams::setWebcamName |
( |
const std::string & |
webcamName | ) |
|
Set the webcam name.
- Parameters
-
webcamName | The webcam name to set. |
◆ setWindowId()
LINPHONECXX_PUBLIC void linphone::RecorderParams::setWindowId |
( |
void * |
windowId | ) |
|
Sets the window id to use to display the camera preview.
- See also
- linphone_core_set_native_window_id() for a general discussion about window ID types.
- Parameters
-
windowId | The window id to set. |
The documentation for this class was generated from the following file: