question

Kepa avatar image
0 Likes"
Kepa asked Joerg Vogel answered

Adding sound to display through webserver

Hello there.

I would like to display some sound with soundplayfile command as it is solved at this post: https://answers.flexsim.com/questions/48163/adding-sound.html.

Is there a way to make it sound at remote devices when a model is run with webserver?

Thank you in advance.

FlexSim 24.2.0
flexsim webserversound
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kepa avatar image Kepa commented ·

@Matthew Gillespie Any idea?

Thank you.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Kepa commented ·

@Kepa Answer of KI > you.com > Key phrase: "WebGL Sound injection"

"While WebGL is not inherently designed for sound manipulation, it can be effectively paired with the Web Audio API to create rich, interactive audio-visual experiences. However, developers must remain vigilant about security vulnerabilities, particularly regarding content injection, to ensure a safe user experience."

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Untested: You can try to stream video and sound by a broadcasting software like Open Broadcast Software OBS.Then it may be a bit complicated to manipulate a FlexSim model while it is running.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.