@arnabxd/ntgcalls-napi v0.3.3 npm GitHub
RUST · N-API · WEBRTC

Stream into Telegram
group calls, from Node.js.

Thread-safe Rust bindings for libntgcalls — the WebRTC engine behind Telegram voice and video chats. Bring your MTProto client; this handles the media. Works on Node.js and Bun.

terminal
$ npm install @arnabxd/ntgcalls-napi
# prebuilt binaries · linux · macos · windows
WHY
01

Thread-safe callbacks

Background native WebRTC thread events become event-loop tasks via N-API ThreadsafeFunction — crash-free.

02

Promise-based API

Heavy operations delegated to a Tokio threadpool through safe one-shot synchronization channels.

03

Smart ID mapping

Accepts a number or a bigint for Telegram chat/user IDs interchangeably — no manual conversions.

04

RPATH isolation

Resolves libntgcalls relative to the addon directory — no LD_LIBRARY_PATH needed, on any platform.

NEXT
CREDITS
Edit on GitHub · MIT · v0.3.3