Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 .
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -19,7 +19,7 @@ If you are using Maven, use the following XML to include the Plivo SDK as a depe
<dependency>
<groupId>com.plivo</groupId>
<artifactId>plivo-java</artifactId>
<version>5.45.7</version>
<version>5.46.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Written manually.

version=5.45.7
version=5.46.0
groupId=com.plivo
artifactId=plivo-java

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.plivo</groupId>
<artifactId>plivo-java</artifactId>
<version>5.45.7</version>
<version>5.46.0</version>
<name>plivo-java</name>
<description>A Java SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML</description>
<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class CallRecordCreator extends VoiceCreator<CallRecordCreateResponse> {
private String transcriptionMethod;
private String callbackUrl;
private String callbackMethod;
private String recordChannelType;

public CallRecordCreator(String id) {
this.id = id;
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -104,4 +110,8 @@ public String callbackUrl() {
public String callbackMethod() {
return this.callbackMethod;
}

public String recordChannelType() {
return this.recordChannelType;
}
}
12 changes: 12 additions & 0 deletions src/main/java/com/plivo/api/xml/Record.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
}
2 changes: 1 addition & 1 deletion src/main/resources/com/plivo/api/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.45.7
5.46.0
Loading