Skip to content

Commit

Permalink
Merge pull request #284 from plivo/VT-8038
Browse files Browse the repository at this point in the history
VT-8038: SDK changes for stream xml element keepCallAlive
  • Loading branch information
manjunath-plivo authored Sep 3, 2024
2 parents 25d6345 + 9ddc4b6 commit 7184bb6
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [5.44.1](https://github.com/plivo/plivo-java/tree/v5.44.1) (2024-09-03)
**Feature - Adding new element for Audio Stream XML**
- Added `keepCallAlive` element in Audio Stream XML

## [5.44.0](https://github.com/plivo/plivo-java/tree/v5.44.0) (2024-07-11)
**Feature - Adding locale support for Create, Get and List Session API**
- Added new request param `locale` in create Session API
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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.43.0/plivo-java-5.44.0.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.44.1/plivo-java-5.44.1.jar).

If you are using Maven, use the following XML to include the Plivo SDK as a dependency.

```xml
<dependency>
<groupId>com.plivo</groupId>
<artifactId>plivo-java</artifactId>
<version>5.44.0</version>
<version>5.44.1</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.44.0
version=5.44.1
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.43.1</version>
<version>5.44.1</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
12 changes: 12 additions & 0 deletions src/main/java/com/plivo/api/xml/Stream.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public class Stream extends PlivoXml implements ResponseNestable {
@XmlAttribute
private String extraHeaders;

@XmlAttribute
private Boolean keepCallAlive;

private Stream() {

}
Expand Down Expand Up @@ -67,6 +70,10 @@ public String contentType() {
return this.contentType;
}

public Boolean keepCallAlive() {
return this.keepCallAlive;
}

public Stream bidirectional(final Boolean bidirectional) {
this.bidirectional = bidirectional;
return this;
Expand Down Expand Up @@ -102,4 +109,9 @@ public Stream extraHeaders(final String extraHeaders) {
return this;
}

public Stream keepCallAlive(final Boolean keepCallAlive) {
this.keepCallAlive = keepCallAlive;
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.44.0
5.44.1

0 comments on commit 7184bb6

Please sign in to comment.