Socket
Book a DemoInstallSign in
Socket

ngx-webrtc-lib

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-webrtc-lib

Angular microapp/library for video conference using agora-rtc-sdk and ngx-agora.

1.0.0
Source
npmnpm
Version published
Weekly downloads
13
-60.61%
Maintainers
1
Weekly downloads
 
Created
Source

ngx-webrtc-lib

https://nodei.co/npm/ngx-webrtc-lib.png?downloads=true&downloadRank=true&stars=true

npm version Build Status codecov

Angular microapp/library for Agora WebRTC client from Agora.io using agora-rtc-sdk and ngx-agora.

This library was generated with Angular CLI version 12.2.0.

Installation

Install ngx-web-rtc-lib from npm:

npm install ngx-webrtc-lib --save

Add wanted package to NgModule imports:

import { WebRtcModule } from 'ngx-webrtc-lib';

@NgModule({
  ...
  imports: [
    WebRtcModule.forRoot({
      AppID: 'agora AppID',
    }),
  ]
  ...
})

You can get started with Agora by following this guide and retrieve the Appid.

Add component to your page:

<ngx-webrtc
  [channel]="channel"
  [debug]="true"
  [uid]="uid"
  (callEnd)="onCallEnd()"
></ngx-webrtc>

How to build lib for development

git clone https://github.com/TarasMoskovych/ngx-webrtc.git
cd ngx-webrtc
npm ci
npm start

Compatibility

To use this library, please follow the versioning specified in the following table.

Angular Versionngx-webrtc-lib Version
12.x1.x

API reference

NameDescription
@Input() uid: stringUser identifier.
@Input() channel: stringChannel identifier.
@Input() debug: booleanEnable debugging. Default value false
@Output() callEnd: EventEmitterEvent that is emitted when the call is ended.

Keywords

angular

FAQs

Package last updated on 27 Oct 2021

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.