使用 Qt Quick 录制音频和视频。
QML Recorder demonstrates a simple application that can record audio and or video files using the camera and microphone.
要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,拜访 构建和运行范例 .
The example uses the QML Camera and AudioInput objects connected to a MediaCaptureSession. A MediaRecorder object is then used to record the captured audio and video.