First, in order for the browser engine to work, Wayland users will have to force OBS through XWayland. I've ended up with this command:
env WAYLAND_DISPLAY="" obs
First, in order for the browser engine to work, Wayland users will have to force OBS through XWayland. I've ended up with this command:
env WAYLAND_DISPLAY="" obs
The API keys are obviously trickier and I'm only going to explain the process for YouTube here, because I no longer stream on Twitch and you see what happens when devs don't document their projects very well?
Anyway, you create a new project at console.cloud.google.com, add the Google account you use for YouTube as a tester and set up OAuth access, which should give you two strings, a client ID and a secret.
Now, depending on how you're going to compile OBS from source (yes, of couse you have to), CMakePresets.json might be a good place to enter this information. I did it in the PKGBUILD for the Arch AUR package obs-studio-liberty (pictured below), the respective hash values have to be set to zero.