We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5991166 commit e406cd8Copy full SHA for e406cd8
1 file changed
livekit-rtc/livekit/rtc/_ffi_client.py
@@ -34,6 +34,16 @@
34
atexit.register(_resource_files.close)
35
36
37
+def _lib_name() -> str | None:
38
+ if platform.system() == "Linux":
39
+ return "liblivekit_ffi.so"
40
+ elif platform.system() == "Darwin":
41
+ return "liblivekit_ffi.dylib"
42
+ elif platform.system() == "Windows":
43
+ return "livekit_ffi.dll"
44
+ return None
45
+
46
47
def get_ffi_lib() -> ctypes.CDLL:
48
# allow to override the lib path using an env var
49
libpath = os.environ.get("LIVEKIT_LIB_PATH", "").strip()
0 commit comments