cpyarger / obs-midi

Use MIDI devices to trigger events in OBS and vice versa
https://obs-midi.org
GNU General Public License v2.0
167 stars 20 forks source link

Add action for "Go Live" #159

Open sammallon opened 2 years ago

sammallon commented 2 years ago

Now that OBS supports integration with platforms like You Tube for managing broadcasts, there is the new action of "Go Live" that takes place following the start of streaming. It would be convenient to have the ability to automatically launch the broadcast in addition to being able to start the outgoing stream with a MIDI action

cpyarger commented 2 years ago

Drop a link to the api documentation that exists in obs for this feature and ill see what I can do.

sammallon commented 2 years ago

I don't see it in the API docs for OBS, but here are links to the YouTube header and code files in OBS repo. Looks like a call to StartLatestBroadcast() should have the effect I'm personally looking for. But if the other methods were made available, quite a bit could be achieved in terms of automating the whole process. I'm also game for making the change if I ever happen to get some time away from my day job.

https://github.com/obsproject/obs-studio/blob/5a9d4d1b2669cd9aa5c7bea19b9795baef7e06b2/UI/youtube-api-wrappers.hpp https://github.com/obsproject/obs-studio/blob/5a9d4d1b2669cd9aa5c7bea19b9795baef7e06b2/UI/youtube-api-wrappers.cpp