obs-websocket/src
tt2468 d48ddef031 EventHandler: Implement InputVolumeMeters
This is probably one of the most requested features for obs-websocket.
This currently works by firing an event to all explicit subscribers
with an array of all active audio sources every **60 milliseconds.**

The `inputLevelsMul` field follows this data format:

Base: [Channel, Channel]
Channel: [magnitude (mul), peak (mul), input_peak (mul)]

           *Not Muted*         *Muted*
Example: [[0.3, 0.5, 0.9], [0.0, 0.0, 0.0]]

(input_peak is the actual peak value, before volume adjustment.)

You may notice that the values are only in mul. This is because we are
trying to cut down on bandwidth. dB values can be calculated using this
formula:

`dB = 20.0 * log10(mul)`
2021-11-22 03:37:56 -08:00
..
eventhandler EventHandler: Implement InputVolumeMeters 2021-11-22 03:37:56 -08:00
forms Base: Remove UNUSED_PARAMETER() usages 2021-11-21 03:08:06 -08:00
requesthandler RequestHandler: Move RequestStatus.h to types directory 2021-11-21 03:13:53 -08:00
utils EventHandler: Implement InputVolumeMeters 2021-11-22 03:37:56 -08:00
websocketserver WebSocketServer: Various code cleanup 2021-11-21 01:37:21 -08:00
Config.cpp Base: Enforce -Wall and fix compiler warnings 2021-11-20 02:34:48 -08:00
Config.h Base: Logging improvements 2021-11-20 01:50:49 -08:00
obs-websocket.cpp EventHandler: Implement InputVolumeMeters 2021-11-22 03:37:56 -08:00
obs-websocket.h EventHandler: Implement InputVolumeMeters 2021-11-22 03:37:56 -08:00
plugin-macros.h.in plugin-macros: Remove extra [obs-websocket] tag 2021-11-21 17:51:53 -08:00
WebSocketApi.cpp Base: Remove UNUSED_PARAMETER() usages 2021-11-21 03:08:06 -08:00
WebSocketApi.h Base: Implement ObsWebSocketApi + cleanup 2021-11-20 01:26:50 -08:00