Skip to content

Commit b5ac94c

Browse files
authored
fix LIVEKIT_LIB_PATH env (#156)
1 parent 2544008 commit b5ac94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

livekit-rtc/livekit/rtc/_ffi_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_ffi_lib():
3636
# allow to override the lib path using an env var
3737
libpath = os.environ.get("LIVEKIT_LIB_PATH", "").strip()
3838
if libpath:
39-
return libpath
39+
return ctypes.CDLL(libpath)
4040

4141
if platform.system() == "Linux":
4242
libname = "liblivekit_ffi.so"

0 commit comments

Comments
 (0)