This simplifies the code and especially the locking a bit, and makes sure we only export the session after it is fully set up. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1603>
This simplifies the code and especially the locking a bit, and makes sure we only export the session after it is fully set up. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1603>