Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0
-
None
-
Google chrome for linux, https://doc.qt.io/qt-6/qml-qtmultimedia-mediarecorder.html
-
108cda751 (dev), 1cbc24928 (6.4), 644dc49fe (6.5), 8209431ab (tqtc/lts-6.2)
-
DaVinci 71
Description
In a section of example code that displays how to make start and stop buttons, there is invalid syntax for a media recorder property. There is no MediaRecorder.RecordingStatus, however there is a RecordingState, which works properly when substituted out. The actual full snippet with errors is as follows:
CameraButton
CameraButton
{ id: stopButton text: "Stop" visible: recorder.status === MediaRecorder.RecordingStatus onClicked: recorder.stop()}