kkartaltepe / obs-text-pango

Text Source using Pango for OBS Studio
GNU General Public License v2.0
49 stars 16 forks source link

http support #3

Open kkartaltepe opened 6 years ago

kkartaltepe commented 6 years ago

wrap curl/other http library and let people output text from remote urls

eslindsey commented 5 years ago

I'd be worried about authentication and access control, etc. Also, it's fairly easy to implement the same functionality using file support. I patched together a utility program that reads information in from a websocket on another computer, writes it out to a file, and the result shows up in OBS. It might make sense to keep the functionality separate, since people that need to accept input from remote URLs will probably each have a very individual use case anyway.

What I would be interested in is a way to update the text from the file more often than 1 second (the default for the built-in Text GDI+), but I don't think using the file system would be a good way to do this.

kkartaltepe commented 5 years ago

https://gist.github.com/kkartaltepe/861b02882056b464bfc3e0b329f2f174 You can use this to update any text source once per frame.