Skip to content

Commit 1186633

Browse files
committed
Updated README.md to adapt the changes of the 1.2.0 release
1 parent ec5a93b commit 1186633

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ First include the library in your project using Maven:
99
```xml
1010
<!-- https://mvnrepository.com/artifact/net.twasi/obs-websocket-java -->
1111
<dependency>
12-
<groupId>net.twasi</groupId>
13-
<artifactId>obs-websocket-java</artifactId>
14-
<version>1.0.5</version>
12+
<groupId>net.twasi</groupId>
13+
<artifactId>obs-websocket-java</artifactId>
14+
<version>1.2.0</version>
1515
</dependency>
1616
```
1717

@@ -30,8 +30,7 @@ If you don't want your program to wait for a connection you could alternatively
3030

3131
```java
3232
controller.registerConnectCallback(response -> {
33-
GetVersionResponse version = (GetVersionResponse) response;
34-
log.debug(version.getObsStudioVersion());
33+
log.debug(response.getObsStudioVersion());
3534

3635
// Other requests...
3736
});

0 commit comments

Comments
 (0)