obsproject / obsproject/obs-browser
SecurityError when requesting access to MIDI
@VodBox is already working on this.
Since Feb 7, 2020.
- Dominant language
- C++
- Stars
- 904
- Forks
- 267
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.