Module: WebRTC::FFI

Extended by:
FFI::Library
Defined in:
lib/webrtc/ffi/library.rb

Defined Under Namespace

Classes: Configuration, Error

Constant Summary collapse

LIB_NAME =
case RbConfig::CONFIG['host_os']
when /darwin/ then 'libwebrtc_ruby.dylib'
when /mswin|mingw/ then 'webrtc_ruby.dll'
else 'libwebrtc_ruby.so'
end
LIB_PATH =
File.join(__dir__, '..', '..', '..', 'ext', 'webrtc_ruby', 'build', LIB_NAME)