@fonoster/streams 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -40,7 +40,7 @@ exten = 100,1,Verbose("Call to AudioSocket via Dialplan Application")
40
40
 
41
41
  Connecting to the AudioSocket server using ARI with the `externalMedia` endpoint is also possible. You must ensure you set the transport to `TCP` the UUID in the data field.
42
42
 
43
- > Currently, the payload towards Asterisk is limited to signed linear, 16-bit, 8kHz, mono PCM (little-endian). However, the payload from Asterisk can be changed with the `format` parameter when using ARI.
43
+ > Currently, the payload towards Asterisk is limited to signed linear, 16-bit, 8kHz, mono PCM (little-endian). However, the payload from Asterisk can be changed with the `format` parameter when using ARI. Please see the [AudioSocket Server](https://github.com/silentindark/audiosocket_server) implementation, for interesting notes about AudioSocket.
44
44
 
45
45
  Once Asterisk is configured, you can use the `AudioSocket` class to create a server that listens for connections. Here is an example of how to use the `AudioSocket` class:
46
46
 
package/dist/types.d.ts CHANGED
@@ -22,4 +22,4 @@ declare enum EventType {
22
22
  type StreamRequest = {
23
23
  ref: string;
24
24
  };
25
- export { StreamRequest, MessageType, EventType, ErrorCode, MINIMUM_MESSAGE_LENGTH, MAXIMUM_MESSAGE_LENGTH };
25
+ export { ErrorCode, EventType, MAXIMUM_MESSAGE_LENGTH, MINIMUM_MESSAGE_LENGTH, MessageType, StreamRequest };
package/dist/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MAXIMUM_MESSAGE_LENGTH = exports.MINIMUM_MESSAGE_LENGTH = exports.ErrorCode = exports.EventType = exports.MessageType = void 0;
3
+ exports.MessageType = exports.MINIMUM_MESSAGE_LENGTH = exports.MAXIMUM_MESSAGE_LENGTH = exports.EventType = exports.ErrorCode = void 0;
4
4
  /*
5
5
  * Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
6
6
  * http://github.com/fonoster/fonoster
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/streams",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Core support for Fonoster Streams",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -18,7 +18,7 @@
18
18
  "generate:readme": "node ../../.scripts/gen-readme.js"
19
19
  },
20
20
  "dependencies": {
21
- "@fonoster/logger": "^0.7.4",
21
+ "@fonoster/logger": "^0.7.5",
22
22
  "uuid": "^10.0.0"
23
23
  },
24
24
  "devDependencies": {
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/fonoster/fonoster/issues"
39
39
  },
40
- "gitHead": "e550aa46c1a9087a70157496365b64afd5aea11d"
40
+ "gitHead": "cf28444503e4e698ccc001e061c7c918a4204757"
41
41
  }