New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@apirtc/apirtc

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apirtc/apirtc

ApiRTC - set up your WebRTC service easily!

latest
npmnpm
Version
5.0.34
Version published
Maintainers
1
Created
Source

ApiRTC

ApiRTC is real time web communication library. It will enable you to easily add communication (chat, audio, video, file transfer, drawings) into your application.

ApiRTC makes web communication easy as a breeze using ApiRTC's infrastructure and WebRTC technology.

One of main avantage of ApiRTC is to be compatible with lot of differents browsers and versions. ApiRTC keeps evolving with the support of new APIs and features on web browsers.

Changelog available on github.

Installation

npm i @apirtc/apirtc --save

or

yarn add @apirtc/apirtc

Usage

Module

import { UserAgent, Session } from '@apirtc/apirtc';

or

import apiRTC from '@apirtc/apirtc';

Eg:

let ua = new UserAgent({
    uri: "apzkey:myDemoApiKey",
});

let registerInformation = {
    cloudUrl: "https://cloud.apirtc.com",
};

ua.register(registerInformation)
    .then((session) => {
        console.log("User registered with session: ", session);
    })
    .catch((error) => {
        console.error("User agent registration failed", error);
    });

Global object

You can use apiRTC object from the global scope.

<script src="node_modules/@apirtc/apirtc/apiRTC.min.js"></script>

or

<script src="https://cloud.apirtc.com/apiRTC/apiRTC-latest.min.js"></script>

<script>
let ua = new apiRTC.UserAgent({
    uri: "apzkey:myDemoApiKey",
});
</script> 

Documentation

If you want to get started, you should take a look at our Getting started guide and API Quick start guide

We have also prepared a number of tutorials & samples to simplify the ApiRTC integration in your application.

API Reference Documentation

Keywords

webrtc

FAQs

Package last updated on 03 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts