Skip to content

Commit 75d6590

Browse files
Merge pull request #355 from plivo/VT-8890
VT-8890: Stereo recording parameter in Record API
2 parents 5f5bf48 + dd89caa commit 75d6590

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [v4.70.0](https://github.com/plivo/plivo-node/tree/v4.70.0) (2025-04-30)
4+
**Feature - New Param added for Start Recording API.**
5+
- Support `record_channel_type` in Start Recording API and `recordChannelType` in Record XML.
6+
37
## [v4.69.6](https://github.com/plivo/plivo-node/tree/v4.69.6) (2025-03-18)
48
**Vulnerabilities Fix**
59
- Update library: Axios

lib/utils/plivoxml.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ Response.prototype = {
254254
* @param {string} [attributes.transcriptionMethod]
255255
* @param {string} [attributes.callbackUrl]
256256
* @param {string} [attributes.callbackMethod]
257+
* @param {string} [attributes.recordChannelType]
257258
*/
258259
addRecord: function (attributes) {
259260
return this.add(new Record(Response), '', attributes);
@@ -867,7 +868,7 @@ function Record(Response) {
867868
'maxLength', 'playBeep', 'recordSession',
868869
'startOnDialAnswer', 'redirect', 'fileFormat',
869870
'callbackUrl', 'callbackMethod', 'transcriptionType',
870-
'transcriptionUrl', 'transcriptionMethod'];
871+
'transcriptionUrl', 'transcriptionMethod', 'recordChannelType'];
871872
}
872873
util.inherits(Record, Response);
873874

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plivo",
3-
"version": "4.69.6",
3+
"version": "4.70.0",
44
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
55
"homepage": "https://github.com/plivo/plivo-node",
66
"files": [

0 commit comments

Comments
 (0)