Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 Beta1
-
None
Description
examples/multimedia/declarative-camera has multiple issues:
- declarative-camera.qml uses "MediaEncoder". This got renamed to "MediaRecorder" in the API review
- VideoPreview.qml uses MediaPlayer.autoPlay, which got removed in the API review
- After fixing these, there are more runtime issues:
qrc:/CameraListButton.qml:60: TypeError: Cannot read property 'length' of undefined qrc:/CameraListButton.qml:70: TypeError: Cannot read property 'description' of undefined qrc:/CameraListPopup.qml:58: TypeError: Cannot read property '0' of undefined qrc:/VideoCaptureControls.qml:84: ReferenceError: MediaEncoder is not defined qrc:/VideoCaptureControls.qml:91: ReferenceError: MediaEncoder is not defined qrc:/CameraListButton.qml:60: TypeError: Cannot read property 'length' of undefined qrc:/CameraListButton.qml:70: TypeError: Cannot read property 'description' of undefined qrc:/CameraListPopup.qml:58: TypeError: Cannot read property '0' of undefined