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...@qt-project.org> on 
behalf of Glen Mabey <gma...@swri.org>
Sent: Friday, April 13, 2018 22:33
To: interest@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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to