reaper
reaper copied to clipboard
How to change the url of a browser source?
Can anyone help with changing the url of a Browser source in Mac terminal with obs-cli? I have tried all these but none work, I know I'm doing the format wrong. any help would be greatly appreciated. Here is what I have tried with no luck:
SetSourceSettings={'sourceName':'Browser5','sourceSettings':{'url':'https://www.google.com'}}
SetSourceSettings,sourceName="Browser5",sourceSettings=url="https://www.google.com"
SetSourceSettings={'sourceName':'Browser Source','sourceSettings':{'url':'https://www.google.com'}}
SetSourceSettings,sourceName="Browser5",sourceSettings=url="https://www.yahoo.com"
Hi @tomdevlive,
Thanks for reaching out!
Are you using obs-cli from the command-line or from a REAPER script?
On the command line, something like the following may work (though I haven’t tested):
$ obs-cli "SetSourceSettings={ 'sourceName': 'Browser5', 'sourceSettings': { 'url': 'https://www.google.com' } }"
In a REAPER script, welcome to quote-escaping hell 😛 Check what I do in this script for reference.
In hindsight, passing JSON as command-line arguments like this was too confusing. In the next version of obs-cli we’ll revisit this decision (and introduce support for the upcoming OBS 28 with the new obs-websockets v5 protocol!).
Let me know how things end up working out for you!