mirror of https://github.com/OpenVidu/openvidu.git
openvidu-backend-client JAR offered
parent
cdbe93c953
commit
b7e3c84be6
|
@ -1,5 +1,7 @@
|
||||||
*~
|
!*/target/
|
||||||
target
|
*/target/*
|
||||||
|
!openvidu-backend-client/target/openvidu-backend-client.jar
|
||||||
|
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
.settings
|
.settings
|
||||||
|
|
21
README.md
21
README.md
|
@ -179,16 +179,21 @@ For secret "MY_SECRET", the final header would be
|
||||||
> (See [OpenViduRole](#openvidurole) section)
|
> (See [OpenViduRole](#openvidurole) section)
|
||||||
|
|
||||||
#### openvidu-backend-client
|
#### openvidu-backend-client
|
||||||
A Java package that wraps the HTTP REST operations for making them even easier. Maven dependecy is available:
|
A Java package that wraps the HTTP REST operations for making them even easier
|
||||||
|
|
||||||
|
- Maven dependency
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.openvidu</groupId>
|
||||||
|
<artifactId>openvidu-backend-client</artifactId>
|
||||||
|
<version>...</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
```xml
|
- Jar
|
||||||
<dependency>
|
```
|
||||||
<groupId>org.openvidu</groupId>
|
https://github.com/OpenVidu/openvidu/tree/master/openvidu-backend-client/target/openvidu-backend-client.jar
|
||||||
<artifactId>openvidu-backend-client</artifactId>
|
```
|
||||||
<version>...</version>
|
|
||||||
</dependency>
|
|
||||||
```
|
|
||||||
|
|
||||||
The usage is quite simple: import OpenVidu package and get an **OpenVidu** object. You need to provide to the constructor the IP of your OpenVidu Server and the secret shared with it (initialized by `openvidu.secret=MY_SECRET` property). Then just call the following methods to get a shiny new sessionId or token to be returned to your frontend.
|
The usage is quite simple: import OpenVidu package and get an **OpenVidu** object. You need to provide to the constructor the IP of your OpenVidu Server and the secret shared with it (initialized by `openvidu.secret=MY_SECRET` property). Then just call the following methods to get a shiny new sessionId or token to be returned to your frontend.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
mvn clean compile package
|
||||||
|
|
||||||
|
cp target/openvidu-backend-client-0.0.1-SNAPSHOT.jar target/openvidu-backend-client.jar
|
Binary file not shown.
|
@ -5,3 +5,8 @@ server.ssl.key-store-password: kurento
|
||||||
server.ssl.keyStoreType: JKS
|
server.ssl.keyStoreType: JKS
|
||||||
server.ssl.keyAlias: kurento-selfsigned
|
server.ssl.keyAlias: kurento-selfsigned
|
||||||
server.context-path: /
|
server.context-path: /
|
||||||
|
|
||||||
|
kms.uris=[\"ws://localhost:8888/kurento\"]
|
||||||
|
|
||||||
|
openvidu.secret: MY_SECRET
|
||||||
|
openvidu.security: true
|
Loading…
Reference in New Issue