I've never written a line of C++, but from what I understand this can be enabled with either the --enable-media-stream flag or OnRequestMediaAccessPermission — both are standard CEF APIs.
Currently getUserMedia() returns NotAllowedError inside BeamNG's CEF.
This would allow mod developers to build audio-based features directly in Lua/JS without requiring a companion app.
I've never written a line of C++, but from what I understand this can be enabled with either the --enable-media-stream flag or OnRequestMediaAccessPermission — both are standard CEF APIs.
Currently getUserMedia() returns NotAllowedError inside BeamNG's CEF.
This would allow mod developers to build audio-based features directly in Lua/JS without requiring a companion app.