Question / Help keyboard won't type while interacting in browser source

AbdiYohan

New Member
Pretty much what the title says. I've downloaded the full version of OBS 20.1.0. on two systems. On both systems, when I add a "BrowserSource" and add all of the values for music.google.com, the page loads just fine. Then, when I go to "interact", I can click around with my mouse, but I'm completely unable to type to add my login. I've tested other sites to no avail. Here are what I've tested this on. Any input is appreciated. :)

System: MBP mid-2015 15 inch (El Capitan 10.11.6)
Processor: 2.5GHz Intel Core i7
RAM: 16 GB
GPU: Radeon R9 M370X 2048 MB

System: MBP mid-2010 13 inch (High Sierra 10.12.6)
Processor: 2.4GHz Intel Core 2 Duo
RAM: 16 GB
GPU: NVIDIA GeForce 320M 256 MB
 

AbdiYohan

New Member
Well, apparently tab and tab + shift work to navigate around the page, but typing literally anything else doesn't work. Not very helpful.
 

jwfutebol

New Member
Here is the log file:

13:37:06.548: CPU Name: Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
13:37:06.548: CPU Speed: 2300MHz
13:37:06.548: Physical Cores: 4, Logical Cores: 8
13:37:06.548: Physical Memory: 16384MB Total
13:37:06.548: OS Name: Mac OS X (NSMACHOperatingSystem)
13:37:06.549: OS Version: Version 10.11.6 (Build 15G17023)
13:37:06.549: Kernel Version: 15.6.0
13:37:06.558: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
13:37:06.558: Portable mode: false
13:37:06.699: OBS 20.1.0 (mac)
13:37:06.699: ---------------------------------
13:37:06.701: ---------------------------------
13:37:06.701: audio settings reset:
13:37:06.701: samples per sec: 44100
13:37:06.701: speakers: 2
13:37:06.706: ---------------------------------
13:37:06.706: Initializing OpenGL...
13:37:06.747: OpenGL version: 4.1 NVIDIA-10.10.14 310.42.25f02
13:37:06.818: ---------------------------------
13:37:06.818: video settings reset:
13:37:06.818: base resolution: 1920x1080
13:37:06.818: output resolution: 960x540
13:37:06.818: downscale filter: Bicubic
13:37:06.818: fps: 60/1
13:37:06.818: format: NV12
13:37:06.818: Audio monitoring device:
13:37:06.818: name: Default
13:37:06.818: id: default
13:37:06.818: ---------------------------------
13:37:07.009: No blackmagic support
13:37:07.054: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
13:37:07.120: VLC found, VLC video source enabled
13:37:07.124: Failed to load 'en-US' text for module: 'obs-browser.so'
13:37:07.124: [browser_source: 'Version: 1.30.1']
13:37:07.124: ---------------------------------
13:37:07.124: Loaded Modules:
13:37:07.124: obs-browser.so
13:37:07.124: vlc-video.so
13:37:07.124: text-freetype2.so
13:37:07.124: rtmp-services.so
13:37:07.124: obs-x264.so
13:37:07.124: obs-vst.so
13:37:07.124: obs-transitions.so
13:37:07.124: obs-outputs.so
13:37:07.124: obs-filters.so
13:37:07.124: obs-ffmpeg.so
13:37:07.124: mac-vth264.so
13:37:07.124: mac-syphon.so
13:37:07.124: mac-decklink.so
13:37:07.124: mac-capture.so
13:37:07.124: mac-avcapture.so
13:37:07.124: linux-jack.so
13:37:07.124: image-source.so
13:37:07.124: frontend-tools.so
13:37:07.124: coreaudio-encoder.so
13:37:07.124: ---------------------------------
13:37:07.124: ==== Startup complete ===============================================
13:37:07.326: All scene data cleared
13:37:07.326: ------------------------------------------------
13:37:07.392: coreaudio: device 'Built-in Microphone' initialized
13:37:07.396: Video Capture Device: Selected device 'FaceTime HD Camera'
13:37:07.400: Video Capture Device: Using preset 1280x720
13:37:07.531: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
13:37:07.604: Switched to scene 'Scene'
13:37:07.604: ------------------------------------------------
13:37:07.604: Loaded scenes:
13:37:07.604: - scene 'Scene':
13:37:07.604: - source: 'Video Capture Device' (av_capture_input)
13:37:07.604: - filter: 'Chroma Key' (chroma_key_filter)
13:37:07.604: - source: 'BrowserSource 2' (browser_source)
13:37:07.604: ------------------------------------------------
13:37:07.612: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
13:37:12.778: User Removed source 'BrowserSource 2' (browser_source) from scene 'Scene'
13:37:35.814: User added scene 'Scene 2'
13:37:35.815: User switched to scene 'Scene 2'
13:37:37.231: User switched to scene 'Scene'
13:37:40.805: User switched to scene 'Scene 2'
13:37:40.805: User Removed scene 'Scene'
13:37:47.541: User added source 'BrowserSource' (browser_source) to scene 'Scene 2'
 

RytoEX

Forum Admin
Forum Moderator
Developer
Very few of the active OBS contributors operate on Mac systems, and I don't believe any of them have experienced this issue themselves. The only specific oddity I'm aware of on obs-browser's interact mode on macOS is that mouse interaction is not properly aligned, possibly specific to Retina Displays. I've never heard of keyboard input being ignored for all but a few keys.

For us to have a hope of fixing this sort of thing, it really needs to be reproduced in a development environment, which has yet to occur.
 

Narcogen

Active Member
OBS 22 release candidate currently does not resolve this issue. Browser source still nonresponsive to keyboard input during interaction.
 

RytoEX

Forum Admin
Forum Moderator
Developer
@Narcogen Just to confirm, you're still seeing keyboard interaction fail on macOS while using OBS 22.0.0-rc1. Is that correct?
 

RytoEX

Forum Admin
Forum Moderator
Developer
There have been more fixes added to obs-browser for this today. These fixes ought to be included in OBS Studio 22.0.0-rc2, if and when a new RC is issued.
 

Narcogen

Active Member
Log excerpt. Incidentally, on Sierra 22RC seems to crash when exiting browser source interaction. During this session, keyboard interaction failed.

09:18:16.168: Switched to scene collection '22RC blank test' (22RC_blank_test.json)
09:18:16.168: ------------------------------------------------
09:18:20.260: User added source 'Browser' (browser_source) to scene 'Scene'
09:18:20.723: obs-browser: Refused to load the stylesheet 'data:text/css;charset=utf-8;base64,Ym9keSB7IGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMCk7IG1hcmdpbjogMHB4IGF1dG87IG92ZXJmbG93OiBoaWRkZW47IH0=' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' ".
09:18:20.723: (source: data:text/css;charset=utf-8;base64,Ym9keSB7IGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMCk7IG1hcmdpbjogMHB4IGF1dG87IG92ZXJmbG93OiBoaWRkZW47IH0=:1)
09:18:39.166: obs-browser: Error: 404 from API (source: https://mixer.com/_latest/bundles/main.d5cf69996c7c216a4f07.bundle.js?c02351ec95234a814523:1266)
09:18:50.821: obs-browser: Uncaught TypeError: awa.sendEventThroughIframe is not a function (source: https://web.vortex.data.microsoft.c...cript-userConsent=false&$mscomCookies=false:1)
09:18:50.821: obs-browser: Uncaught TypeError: awa.sendEventThroughIframe is not a function (source: https://web.vortex.data.microsoft.c...cript-userConsent=false&$mscomCookies=false:1)
09:18:56.207: obs-browser: (node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit. (source: https://mixer.com/_latest/bundles/main.d5cf69996c7c216a4f07.bundle.js?c02351ec95234a814523:1357)
 

RytoEX

Forum Admin
Forum Moderator
Developer
@Narcogen
That log excerpt seems less like an issue about keyboard interaction and more to do with some content security policy in CEF, and maybe that's changed between the CEF used in obs-browser 1.31.0 and 2.0.0.

The crash itself doesn't sound related to the CSP issue. A full crash log would be more valuable than a regular log in investigating that crash.

As I'd mentioned earlier, there are more fixes for keyboard interaction that are not in 22-rc1.
 
Top