A lightweight, headless WebRTC-based communication SDK for 1-on-1 voice calls
Project description
OmniCall Headless SDK
A lightweight, headless WebRTC engine for 1-on-1 voice calls. Works across Web, Mobile Web, and Desktop.
Features
- Headless: No UI included. Build your own interface.
- Auto-Busy: Automatically rejects incoming calls if user is already in a call.
- Cross-Platform: Connect Web-to-Web, Mobile-to-Mobile, or Web-to-Mobile.
- Hardware Management: Automatically handles microphone permissions and cleanup.
Installation
Import the OmniCall class into your project:
import { OmniCall } from './path/to/sdk_core/web/core.js';
## QUICK START
const voice = new OmniCall({
userId: "User_Unique_ID", // Can be Phone Number or String
serverUrl: "ws://your-signaling-server:8000",
onReady: () => console.log("Connected to server"),
onIncoming: (callerId) => {
// Show your custom "Incoming Call" popup here
if(confirm("Call from " + callerId)) {
voice.acceptCall();
} else {
voice.hangup();
}
},
onAccepted: () => console.log("Call Connected!"),
onBusy: () => alert("User is on another call"),
onHangup: () => console.log("Call Ended")
});
voice.connect();
## CONTROL CALLS
// Start a call
voice.startCall("Target_User_ID");
// Mute logic (Implementation example)
voice.localStream.getAudioTracks()[0].enabled = false;
// End a call
voice.hangup();
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ominicall-0.1.2.tar.gz.
File metadata
- Download URL: ominicall-0.1.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb706347840aa1ed23d2617e2803480739df7fc5fde0b2b7f6306232184b03b3
|
|
| MD5 |
26010a32c3180258d473c97e1af8c4b4
|
|
| BLAKE2b-256 |
25904768870259b16fe3de49ca7b116ffa623a02cbfe6d0072b4210208568aa0
|
Provenance
The following attestation bundles were made for ominicall-0.1.2.tar.gz:
Publisher:
pypi-publish.yml on mani1028/Ominicall
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ominicall-0.1.2.tar.gz -
Subject digest:
cb706347840aa1ed23d2617e2803480739df7fc5fde0b2b7f6306232184b03b3 - Sigstore transparency entry: 1328134728
- Sigstore integration time:
-
Permalink:
mani1028/Ominicall@c63b5a2254d7f57b8491fd26388ddf204ec5fd2f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/mani1028
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@c63b5a2254d7f57b8491fd26388ddf204ec5fd2f -
Trigger Event:
push
-
Statement type:
File details
Details for the file ominicall-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ominicall-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc1dc65dd74df4e162f14d6eb8694693cf6dfa05b49b18dd20d957191303dcb
|
|
| MD5 |
9b177e685aadb541f286d0db5774bf7b
|
|
| BLAKE2b-256 |
4e839371405128f5041f25b677feb7e6f96bd7b045dcb6ceed0609b6bdd3cf79
|
Provenance
The following attestation bundles were made for ominicall-0.1.2-py3-none-any.whl:
Publisher:
pypi-publish.yml on mani1028/Ominicall
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ominicall-0.1.2-py3-none-any.whl -
Subject digest:
dfc1dc65dd74df4e162f14d6eb8694693cf6dfa05b49b18dd20d957191303dcb - Sigstore transparency entry: 1328134731
- Sigstore integration time:
-
Permalink:
mani1028/Ominicall@c63b5a2254d7f57b8491fd26388ddf204ec5fd2f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/mani1028
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@c63b5a2254d7f57b8491fd26388ddf204ec5fd2f -
Trigger Event:
push
-
Statement type: