Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aculab-com/aculab-webrtc

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aculab-com/aculab-webrtc - npm Package Compare versions

Comparing version 3.3.3 to 4.0.0-beta

lib/aculab-cloud-call.d.ts

12

interface.md

@@ -170,4 +170,12 @@ _aculab-webrtc javascript interface_

Gets the callId used for the call. For outgoing calls this may return `undefined` until the onConnecting() callback is being called. For incoming calls it is always available. This value is exchanged with the remote party and will be the same at each end of the call.
Gets the callId used for the call. For outgoing calls this may return `undefined` until the onConnecting() callback is being called. For incoming calls it is always available.
### string theCallId()
Object property. Gets the callId used for the call. For outgoing calls this may return `undefined` until the onConnecting() callback is being called. For incoming calls it is always available.
### string callUuid()
Object property. Gets the callUuid used for the call.
### void mute(mic, outputAudio, camera, outputVideo)

@@ -209,3 +217,3 @@

| `call` | The call object that is reporting the event. |
| `cause` | One of the following strings:<dl><dt>'MIC_ERROR'</dt><dd>no microphone is available to the AculabCloudClient, usually because the user refused access or there is no microphone.</dd><dt>'BUSY'</dt><dd>the service called hangup() with the busy cause or the service could not be started (due to limited UAS capacity, for example)</dd><dt>'UNOBTAINABLE'</dt><dd>the specified incoming service name does not exist</dd><dt>'MOVED'</dt><dd>the service attempted to redirect the call</dd><dt>'REJECTED'</dt><dd>the call was rejected either by the incoming service or an intermediary</dd><dt>'NOANSWER'</dt><dd>the call did not connect</dd><dt>'FAILED'</dt><dd>the call was unsuccessful for some other reason</dd><dt>'ERROR'</dt><dd>an internal error occurred.</dd><dt>'NORMAL'</dt><dd>the call has disconnected in the normal way after having connected</dd></dl> |
| `cause` | One of the following strings:<dl><dt>'DEVICE_ERROR'</dt><dd>A microphone or camera has been requested but cannot be detected by the AculabCloudClient, usually because the user refused access or there is no microphone or camera.</dd><dt>'BUSY'</dt><dd>the service called hangup() with the busy cause or the service could not be started (due to limited UAS capacity, for example)</dd><dt>'UNOBTAINABLE'</dt><dd>the specified incoming service name does not exist</dd><dt>'MOVED'</dt><dd>the service attempted to redirect the call</dd><dt>'REJECTED'</dt><dd>the call was rejected either by the incoming service or an intermediary</dd><dt>'NOANSWER'</dt><dd>the call did not connect</dd><dt>'FAILED'</dt><dd>the call was unsuccessful for some other reason</dd><dt>'ERROR'</dt><dd>an internal error occurred.</dd><dt>'NORMAL'</dt><dd>the call has disconnected in the normal way after having connected</dd></dl> |

@@ -212,0 +220,0 @@ ### onMedia

{
"name": "@aculab-com/aculab-webrtc",
"version": "3.3.3",
"main": "src/index.js",
"type": "module",
"version": "4.0.0-beta",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"module": "lib/index.js",
"dependencies": {
"sip.js": "^0.21.2",
"source-map-loader": "^4.0.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"eslint": "^7.20.0",
"eslint-plugin-react": "^7.22.0",
"@types/node": "^20.6.2",
"@types/uuid": "^9.0.3",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"marked": "^4.0.12",
"prettier": "^3.0.3",
"typescript": "^5.1.6",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"repository": "https://github.com/aculab-com/aculab-webrtc",
"bugs": {
"url": "https://github.com/aculab-com/aculab-webrtc/issues"
},
"homepage": "https://github.com/aculab-com/aculab-webrtc#how-to-write-aculab-webrtc-apps",
"publishConfig": {

@@ -31,3 +45,4 @@ "registry": "https://registry.npmjs.org/",

"build-web-tgz": "tar -czf dist/webrtc-client-web-package-$npm_package_version.tgz --group 0 --owner 0 --numeric-owner --transform=s,^,$npm_package_version/, dist/AculabCloudCaller.js demos/* test/* interface.html",
"build": "npm run build-package && npm run build-bundles && npm rum copy-dist-files && npm run build-interface-html && npm run build-web-tgz"
"build": "npm run ts-build && npm run build-package && npm run build-bundles && npm rum copy-dist-files && npm run build-interface-html && npm run build-web-tgz",
"ts-build": "tsc"
},

@@ -37,6 +52,22 @@ "files": [

"/demos",
"/lib",
"/src",
"/test",
"interface.md"
]
],
"keywords": [
"sip",
"webrtc",
"aculab"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"arrowParens": "avoid",
"bracketSameLine": true,
"bracketSpacing": false
}
}
src/aculab-cloud-call.js

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc