diff --git a/CHANGELOG.md b/CHANGELOG.md
index da7ae4bc..bd61a427 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,10 +1,13 @@
# Change Log
+## [5.46.0](https://github.com/plivo/plivo-java/tree/v5.46.0) (2025-04-30)
+**Feature - New Param added for Start Recording API.**
+- Support `record_channel_type` in Start Recording API and `recordChannelType` in Record XML.
+
## [5.45.7](https://github.com/plivo/plivo-java/tree/v5.45.7) (2025-04-16)
**Feature - Added the legs param in speak class .**
- supporting paramter legs in speak element .
-
## [5.45.6](https://github.com/plivo/plivo-java/tree/v5.45.6) (2025-03-03)
**Fix - Upgraded version for okhttp3 package.**
- Upgraded version of the okhttp3 package .
diff --git a/README.md b/README.md
index 4184106a..84f3f0d4 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ The Plivo Java SDK makes it simpler to integrate communications into your Java a
### To Install Stable release
-You can use this SDK by adding it as a dependency in your dependency management tool. Alternatively, you can use the [JAR file](https://search.maven.org/remotecontent?filepath=com/plivo/plivo-java/5.45.6/plivo-java-5.45.7.jar).
+You can use this SDK by adding it as a dependency in your dependency management tool. Alternatively, you can use the [JAR file](https://search.maven.org/remotecontent?filepath=com/plivo/plivo-java/5.46.0/plivo-java-5.46.0.jar).
If you are using Maven, use the following XML to include the Plivo SDK as a dependency.
@@ -19,7 +19,7 @@ If you are using Maven, use the following XML to include the Plivo SDK as a depe
com.plivo
plivo-java
- 5.45.7
+ 5.46.0
```
diff --git a/pom.properties b/pom.properties
index 29a3978f..a8a5f621 100644
--- a/pom.properties
+++ b/pom.properties
@@ -1,6 +1,6 @@
# Written manually.
-version=5.45.7
+version=5.46.0
groupId=com.plivo
artifactId=plivo-java
diff --git a/pom.xml b/pom.xml
index 4c2645a5..6bed0e1c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.plivo
plivo-java
- 5.45.7
+ 5.46.0
plivo-java
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
diff --git a/src/main/java/com/plivo/api/models/call/actions/CallRecordCreator.java b/src/main/java/com/plivo/api/models/call/actions/CallRecordCreator.java
index ec8bf104..6e015fa9 100644
--- a/src/main/java/com/plivo/api/models/call/actions/CallRecordCreator.java
+++ b/src/main/java/com/plivo/api/models/call/actions/CallRecordCreator.java
@@ -16,6 +16,7 @@ public class CallRecordCreator extends VoiceCreator {
private String transcriptionMethod;
private String callbackUrl;
private String callbackMethod;
+ private String recordChannelType;
public CallRecordCreator(String id) {
this.id = id;
@@ -77,6 +78,11 @@ public CallRecordCreator callbackMethod(final String callbackMethod) {
return this;
}
+ public CallRecordCreator recordChannelType(final String recordChannelType) {
+ this.recordChannelType = recordChannelType;
+ return this;
+ }
+
public Integer timeLimit() {
return this.timeLimit;
}
@@ -104,4 +110,8 @@ public String callbackUrl() {
public String callbackMethod() {
return this.callbackMethod;
}
+
+ public String recordChannelType() {
+ return this.recordChannelType;
+ }
}
\ No newline at end of file
diff --git a/src/main/java/com/plivo/api/xml/Record.java b/src/main/java/com/plivo/api/xml/Record.java
index 68f72aa5..e8b924ae 100644
--- a/src/main/java/com/plivo/api/xml/Record.java
+++ b/src/main/java/com/plivo/api/xml/Record.java
@@ -51,6 +51,9 @@ public class Record extends PlivoXml implements ResponseNestable {
@XmlAttribute
private String callbackMethod;
+ @XmlAttribute
+ private String recordChannelType;
+
public Record(String action) {
this.action = action;
}
@@ -114,6 +117,10 @@ public String callbackMethod() {
return this.callbackMethod;
}
+ public String recordChannelType() {
+ return this.recordChannelType;
+ }
+
public Record method(final String method) {
this.method = method;
return this;
@@ -183,4 +190,9 @@ public Record callbackMethod(final String callbackMethod) {
this.callbackMethod = callbackMethod;
return this;
}
+
+ public Record recordChannelType(final String recordChannelType) {
+ this.recordChannelType = recordChannelType;
+ return this;
+ }
}
diff --git a/src/main/resources/com/plivo/api/version.txt b/src/main/resources/com/plivo/api/version.txt
index a350ec62..2df82a00 100644
--- a/src/main/resources/com/plivo/api/version.txt
+++ b/src/main/resources/com/plivo/api/version.txt
@@ -1 +1 @@
-5.45.7
+5.46.0
\ No newline at end of file