Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
platform-notes-wasm.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page qtmultimedia-wasm.html
6
\title Qt Multimedia on WebAssembly
7
\brief Platform notes for WebAssembly
8
9
This page covers the availability of Qt Multimedia features on WebAssembly.
10
11
\section1 Limitations
12
13
\list
14
\li Due to its asynchronous nature, some features such as getting a list of
15
QMediaDevices may not be readily available and may take some time to request
16
permissions and gather the list of devices. With Asyncify/JSPI enabled, device
17
enumeration happens synchronously. Otherwise use the audioInputsChanged,
18
audioOutputsChanged, and videoInputsChanged signals to react when devices become
19
available.
20
21
\li Camera and Microphone inputs require user permissions, and can only be used
22
in a secure https context. Firefox may require permission to play video and audio.
23
24
\li Using and selecting different Codecs/video formats is not currently supported.
25
These in the browser are more like suggestions or a request, and may not return
26
the selected codec.
27
28
\li Playing data from a QIODevice (using \c {setSourceDevice(QIODevice*)}): is partially
29
supported for video (entire stream (file) is read into memory at once). Not supported
30
for audio. Streaming from a web URL works. Real-time data input streaming is
31
not supported.
32
33
\li Some advanced features such as spatial 3D audio and (Audio/Video)codecs
34
are not currently supported.
35
36
\li Files can be served from the/any web server, respective
37
of \l{https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS}{CORS}.
38
39
\li Although possible, playing large files stored in the application file system
40
or in a resource package are discouraged because of the limited size of
41
the browser's file storage and memory constraints.
42
43
\li Issues may exist when using the Firefox browser on any platform.
44
45
\endlist
46
47
*/
qtmultimedia
src
multimedia
doc
src
platform-notes-wasm.qdoc
Generated on
for Qt by
1.16.1