mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-19 03:38:37 -05:00
The wrapping library uses a global mainloop and context which allows operations to share the connection. The global mainloop is created and destroyed based on internal reference counting. The capture code won't spawn a new thread for each input anymore but instead just create the recording stream and rely on the threaded mainloop to execute the read callback when data is available.