diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-09-20 16:06:18 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-21 17:42:58 +0000 |
commit | 304f4f7f3f645ef076995e81ee0af2163b8ba6f2 (patch) | |
tree | 898255ff35804cbae691c233ecddbb1d24a73853 /src/multimedia/doc/src/qt6-changes.qdoc | |
parent | 869936597b673cd5b659689c2f4eb0e439395451 (diff) |
Various fixes to our overview doc pages
Correct various mistakes in our overview documentation and
add some more detail in various places.
Change-Id: Iff26e7f13646a7a421be49dcb473f64732367558
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
(cherry picked from commit 10733a6a8371d88af5f418dcae1a405f92ed2873)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/multimedia/doc/src/qt6-changes.qdoc')
-rw-r--r-- | src/multimedia/doc/src/qt6-changes.qdoc | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/multimedia/doc/src/qt6-changes.qdoc b/src/multimedia/doc/src/qt6-changes.qdoc index 1a9a9530b..dd37a1355 100644 --- a/src/multimedia/doc/src/qt6-changes.qdoc +++ b/src/multimedia/doc/src/qt6-changes.qdoc @@ -49,10 +49,11 @@ Qt 5 can be ported with limited effort. There are a number of new features in Qt Multimedia: \list \li QMediaCaptureSession class is the central object for media capture. - \li QMediaRecorder class is now an abstract class for audio/video - functionality. It handles encoding of data produced in a capture session. + \li QMediaRecorder class is now a class limited to recording audio and video. + It handles encoding of data produced in a capture session. \li Using QMediaFormat and QMediaRecorder, setting up the desired encoding when recording has changed significantly. + \li You can now also monitor the audio recorded by a capture session. \li Support for selection of audio, video and subtitle tracks when playing back media files has been added. \li QAudioDecoder is now supported on all platforms. @@ -92,8 +93,7 @@ There are a number of new features in Qt Multimedia: resolution and frame rate the camera should be using. \row \li QMediaContent - \li The class has been removed. Use QMediaPlayList for playlists and - QUrl for individual media files instead. + \li The class has been removed. Use QUrl for individual media files instead. \row \li QSound \li Use QSoundEffect instead. @@ -120,7 +120,7 @@ There are a number of new features in Qt Multimedia: \section1 Changed features -A number of classes previously offered in Qt Multimedia or Qt Multimedia Kit have +A number of classes previously offered in Qt Multimedia have changed in ways that may affect previously written code. The following table highlights these changes. @@ -155,6 +155,15 @@ highlights these changes. \row \li QCameraImageCapture renamed QImageCapture \li None + \row + \li Audio inputs and outputs + \li QMediaPlayer and QMediaCaptureSession (and the corresponding QML types MediaPlayer and + CaptureSession) are not connected to any audio devices by default. Explicitly connect them + to a QAudioInput/AudioInput or QAudioOutput/AudioOutput to capture or play back audio. + \row + \li Capturing video + \li A capture session is by default not connected to a Camera. Connect it to a QCamera object + (Camera item) to be able to capture video or still images. \endtable */ |