mirror of https://github.com/OpenVidu/openvidu.git
Server SDKs link to OpenVidu Pro docs on "location" property
parent
3c200d3a46
commit
a5e871ae30
|
@ -38,8 +38,9 @@ public class Connection {
|
||||||
protected Map<String, Publisher> publishers;
|
protected Map<String, Publisher> publishers;
|
||||||
protected List<String> subscribers;
|
protected List<String> subscribers;
|
||||||
|
|
||||||
protected Connection(String connectionId, long createdAt, OpenViduRole role, String token, String location, String platform,
|
protected Connection(String connectionId, long createdAt, OpenViduRole role, String token, String location,
|
||||||
String serverData, String clientData, Map<String, Publisher> publishers, List<String> subscribers) {
|
String platform, String serverData, String clientData, Map<String, Publisher> publishers,
|
||||||
|
List<String> subscribers) {
|
||||||
this.connectionId = connectionId;
|
this.connectionId = connectionId;
|
||||||
this.createdAt = createdAt;
|
this.createdAt = createdAt;
|
||||||
this.role = role;
|
this.role = role;
|
||||||
|
@ -84,10 +85,14 @@ public class Connection {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* <a href="/docs/openvidu-pro/" target="_blank" style="display: inline-block;
|
||||||
|
* background-color: rgb(0, 136, 170); color: white; font-weight: bold; padding:
|
||||||
|
* 0px 5px; margin-right: 5px; border-radius: 3px; font-size: 13px;
|
||||||
|
* line-height:21px; font-family: Montserrat, sans-serif">PRO</a>
|
||||||
|
*
|
||||||
* Returns the geo location of the connection, with the following format:
|
* Returns the geo location of the connection, with the following format:
|
||||||
* <code>"CITY, COUNTRY"</code> (<code>"unknown"</code> if it wasn't possible to
|
* <code>"CITY, COUNTRY"</code> (<code>"unknown"</code> if it wasn't possible to
|
||||||
* locate it)
|
* locate it)
|
||||||
* <i>(ONLY IN OPENVIDU PRO)</i>
|
|
||||||
*/
|
*/
|
||||||
public String getLocation() {
|
public String getLocation() {
|
||||||
return location;
|
return location;
|
||||||
|
|
|
@ -44,8 +44,8 @@ export class Connection {
|
||||||
token: string;
|
token: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* <a href="/docs/openvidu-pro/" target="_blank" style="display: inline-block; background-color: rgb(0, 136, 170); color: white; font-weight: bold; padding: 0px 5px; margin-right: 5px; border-radius: 3px; font-size: 13px; line-height:21px; font-family: Montserrat, sans-serif">PRO</a>
|
||||||
* Geo location of the connection, with the following format: `"CITY, COUNTRY"` (`"unknown"` if it wasn't possible to locate it)
|
* Geo location of the connection, with the following format: `"CITY, COUNTRY"` (`"unknown"` if it wasn't possible to locate it)
|
||||||
* _(ONLY IN OPENVIDU PRO)_
|
|
||||||
*/
|
*/
|
||||||
location: string;
|
location: string;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue