@blueface_npm/barcelona
TypeScript icon, indicating that this package has built-in type declarations

2.9.2 • Public • Published

Phone system abstraction layer

Core Tech: RXJS, Verto, WebRTC & Freeswitch

Installation

npm install @blueface_npm/barcelona

Must add this assets:

file: ring.mp3 Location: ./assets/audio/ring.mp3 Goal: To have ring sound on incoming calls

file: beep.mp3 Location: ./assets/audio/ring.mp3 Goal: To have ring sound on incoming calls when you are connected to other calls

Usage

  • [[RelayClient]] allows to manage a list of calls with different functionalities
  • [[WebRTCSession]] controls the WebRTC connection, discovery, and the media streams
  • [[VertoSession]] allows to send commands and parse events through web sockets

Testing changes locally

In Barcelona's folder:

$ npm link

And for every change:

$ npm run build

Or alternatively:

$ npm run watch

Which will rebuild on every change (useful during development).

In your app's folder (webphone, palantir):

$ npm link @blueface_npm/barcelona

Angular should automatically pick up any change and rebuild from there.

Documentation

First, run $ npm run docs You can then open the documentation in docs/index.html

Publishing a new version

Barcelona follows the Semver version convention:

  • Major version for are breaking changes
  • Minor version for non-breaking functional changes
  • Patches for non-breaking bugfixes only
  1. Document your changes in CHANGELOG.md and commit them
  2. $ npm version major|minor|patch
  3. $ npm publish
  4. $ git push origin master --tags

Readme

Keywords

none

Package Sidebar

Install

npm i @blueface_npm/barcelona

Weekly Downloads

2

Version

2.9.2

License

Proprietary

Unpacked Size

332 kB

Total Files

143

Last publish

Collaborators

  • joel.barba
  • vincenzo_aimone_cc
  • niall_colbert
  • mattb603
  • niall_caffrey_blueface
  • schimuneck
  • andre.leite
  • blueface
  • brennanbf
  • joel.blueface
  • mpadronm
  • arpitha.sunil
  • snmane
  • alejandro.mendez
  • melinasalas