[Interest] WebGL platform and audio

Jesus Fernandez jesus.fernandez at qt.io
Mon Apr 23 11:55:19 CEST 2018


Hi Glen,


There is no plan ATM to support audio. You could add a suggestion to the Qt bug tracker to request it.


Best regards,

Jesús


________________________________
From: Interest <interest-bounces+jesus.fernandez=qt.io at qt-project.org> on behalf of Glen Mabey <gmabey at swri.org>
Sent: Friday, April 13, 2018 22:33
To: interest at qt-project.org
Subject: [Interest] WebGL platform and audio

Hello,

I'm using 5.10.1 for a very simple QML application that also instantiates a QAudioOutput instance and sends data to it.

Not too surprisingly, the audio comes out on the machine running the executable and not the one running the webbrowser.

I see that there is some concept of basic audio playback in WebGL, but don't know anything more than that:  https://docs.unity3d.com/Manual/webgl-audio.html
[https://unity3d.com/files/images/ogimg.jpg]<https://docs.unity3d.com/Manual/webgl-audio.html>

Unity - Manual: Using Audio In WebGL<https://docs.unity3d.com/Manual/webgl-audio.html>
docs.unity3d.com
Audio in WebGL is done differently then on all other platforms. On other platforms we use FMOD internally to supply audio playback and mixing. Since the WebGL platform does not support threads, we need to use a different implementation, which is internally based on the Web Audio API, which lets the ...




Is that the expected behavior for the Qt webgl platform?  Any prospect of that changing soon?

Thank you --
Glen
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180423/ab7625d7/attachment.html>


More information about the Interest mailing list