Description
I was working for the past few days on a Piano display (you can see it here: https://chord-display.rednet.io), using BrowserSource on OBS v21, using MIDI features of CEF.
Everything was working fine, but not anymore after update to OBS v24.
It is also working on v23 (made the downgrade).
Current Behavior
MIDI Access request rejects with following error:
SecurityError: an attempt was made to break through the security policy of the user agent
It was working fine, on a localhost version, a localfile, and on a deployed version of my tool with an HTTPS certificate.
Expected Behavior
It should allow using MIDI, and display notes played by user in OBS.
Steps to Reproduce
- Create a BrowserSource in OBS with url: https://chord-display.rednet.io
- (optional) Plug a MIDI device (piano), or install a Virtual MIDI device (OSX: MidiKeys is a good one for testing: http://www.manyetas.com/creed/midikeys.html)
- Play notes
Step 1 is currently breaking with error, since MIDI is initialized on load.
Additional information
OS: MacOS Mojave 10.14.6
OBS Studio version: v24.0.6
[obs-browser]: Version 2.7.16
Working OBS Studio versions: v21...v23 ([obs-browser]: Version 2.3.1)