LUA Scripting - get current current service

SN1974

New Member
I am very new to LUA scripting - (though I have done scripting in JavaScript, PHP, and VBScript). I am looking for a function that I can call in an LUA script to get the output service Facebook, YouTube, etc. currently selected in the settings dialog of OBS. If I'm reading things correctly I need this to be able to set the stream key via script?

Thanks
SN
 

SN1974

New Member
I think I found the function I'm looking for - obs_frontend_get_streaming_service().

I was looking in the services section of the api docs - I didn't think to look in the front end section of the documentation.
 
Top