It can be called any time from random thread. Thus, multiple device objects can be created for the same physical device if the call is not serialized, that's not a scenario we expect. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2727>