|
dtkmultimedia
DTK Multimedia module
|
DMediaCaptureSession类提供相机连接回话相关信息. 更多...
#include <dmediacapturesession.h>
Public 成员函数 | |
| DMediaCaptureSession (QObject *parent=nullptr) | |
| DAudioInput * | audioInput () const |
| 获取相机输入设备. | |
| void | setAudioInput (DAudioInput *input) |
| 设置相机输入设备. | |
| DCamera * | camera () const |
| 获取相机对象设备. | |
| void | setCamera (DCamera *camera) |
| 设置相机对象设备. | |
| DImageCapture * | imageCapture () |
| 获取相机拍照对象. | |
| void | setImageCapture (DImageCapture *imageCapture) |
| 设置相机拍照对象. | |
| DMediaRecorder * | recorder () |
| 获取相机录像对象. | |
| void | setRecorder (DMediaRecorder *recorder) |
| 设置相机录像对象. | |
| void | setVideoOutput (QObject *output) |
| 设置相机视频输出设备. | |
| QObject * | videoOutput () const |
| 获取相机视频输出设备. | |
| void | setVideoSink (DVideoSink *sink) |
| 设置相机视频链路对象. | |
| DVideoSink * | videoSink () const |
| 获取相机视频链路对象. | |
| void | setAudioOutput (DAudioOutput *output) |
| 设置相机音频输出设备. | |
| DAudioOutput * | audioOutput () const |
| 获取相机音频输出设备. | |
| DMediaCaptureSession * | platformSession () const |
| 获取相机平台回话. | |
Protected 属性 | |
| QScopedPointer< DMediaCaptureSessionPrivate > | d_ptr |
DMediaCaptureSession类提供相机连接回话相关信息.
| DAudioInput * DMediaCaptureSession::audioInput | ( | ) | const |
获取相机输入设备.
| DAudioOutput * DMediaCaptureSession::audioOutput | ( | ) | const |
获取相机音频输出设备.
| DCamera * DMediaCaptureSession::camera | ( | ) | const |
获取相机对象设备.
| DImageCapture * DMediaCaptureSession::imageCapture | ( | ) |
获取相机拍照对象.
| DMediaCaptureSession * DMediaCaptureSession::platformSession | ( | ) | const |
获取相机平台回话.
| DMediaRecorder * DMediaCaptureSession::recorder | ( | ) |
获取相机录像对象.
| void DMediaCaptureSession::setAudioInput | ( | DAudioInput * | input | ) |
设置相机输入设备.
| [in] | input | 相机输入设备. |
| void DMediaCaptureSession::setAudioOutput | ( | DAudioOutput * | output | ) |
设置相机音频输出设备.
| [in] | output | 相机音频输出设备. |
| void DMediaCaptureSession::setCamera | ( | DCamera * | camera | ) |
设置相机对象设备.
| [in] | camera | 相机对象设备. |
| void DMediaCaptureSession::setImageCapture | ( | DImageCapture * | imageCapture | ) |
设置相机拍照对象.
| [in] | camera | 相机拍照对象. |
| void DMediaCaptureSession::setRecorder | ( | DMediaRecorder * | recorder | ) |
设置相机录像对象.
| [in] | recorder | 相机录像对象. |
| void DMediaCaptureSession::setVideoOutput | ( | QObject * | output | ) |
设置相机视频输出设备.
| [in] | output | 相机视频输出设备. |
| void DMediaCaptureSession::setVideoSink | ( | DVideoSink * | sink | ) |
设置相机视频链路对象.
| [in] | sink | 相机视频链路对象. |
| QObject * DMediaCaptureSession::videoOutput | ( | ) | const |
获取相机视频输出设备.
| DVideoSink * DMediaCaptureSession::videoSink | ( | ) | const |
获取相机视频链路对象.