mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-09 10:06:12 -04: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.