This is a Webrtc library for Angular based on [Sipml5](https://www.doubango.org/sipml5/). In fact, It's a bridge between [Sipml5](https://www.doubango.org/sipml5/) and Angular.
This is a Webrtc library for Ecmascript based on [Sipml5](https://www.doubango.org/sipml5/). It's a bridge between [Sipml5](https://www.doubango.org/sipml5/) and Ecmascript.
## Installation
Install via npm
```bash
npm i angular-webrtc-sipml
npm i ecmascript-webrtc-sipml
```
## Usage
import SIPmlWebRTC into your component
```javascript
importSIPmlWebRTCfrom'angular-webrtc-sipml';
importSIPmlfrom'ecmascript-webrtc-sipml';
```
Add the following tags into your html component (audio tags are used to play voice call)
Add the following tags into your html component (audio tags are used to play voice call or ringtone)
enable_early_ims:"xxxxx",//(window.localStorage ? window.localStorage.getItem('org.doubango.expert.disable_early_ims') != "true" : true), // Must be true unless you're using a real IMS network
enable_early_ims:"",//(window.localStorage ? window.localStorage.getItem('org.doubango.expert.disable_early_ims') != "true" : true), // Must be true unless you're using a real IMS network
//bandwidth: (window.localStorage ? tsk_string_to_object(window.localStorage.getItem('org.doubango.expert.bandwidth')) : null), // could be redefined a session-level
//video_size: (window.localStorage ? tsk_string_to_object(window.localStorage.getItem('org.doubango.expert.video_size')) : null), // could be redefined a session-level
//oConfigCall.bandwidth = tsk_string_to_object(window.localStorage.getItem('org.doubango.expert.bandwidth')); // already defined at stack-level but redifined to use latest values
//oConfigCall.video_size = tsk_string_to_object(window.localStorage.getItem('org.doubango.expert.video_size')); // already defined at stack-level but redifined to use latest values