mirror of https://github.com/OpenVidu/openvidu.git
openvidu backend clients OpenViduRole JavaDoc updated (MODERATOR)
parent
7f41f0ccad
commit
844e7f2999
|
@ -20,19 +20,18 @@ package io.openvidu.java.client;
|
|||
public enum OpenViduRole {
|
||||
|
||||
/**
|
||||
* Can subscribe to published streams of other users
|
||||
* Can subscribe to published Streams of other users
|
||||
*/
|
||||
SUBSCRIBER,
|
||||
|
||||
/**
|
||||
* SUBSCRIBER permissions + can publish their own streams
|
||||
* SUBSCRIBER permissions + can publish their own Streams (call <code>Session.publish()</code>)
|
||||
*/
|
||||
PUBLISHER,
|
||||
|
||||
/**
|
||||
* <i>(not available yet)</i> SUBSCRIBER and PUBLIHSER permissions + can force
|
||||
* <code>unpublish()</code> and <code>disconnect()</code> over a third-party
|
||||
* stream or user
|
||||
* SUBSCRIBER + PUBLISHER permissions + can force the unpublishing or disconnection over a third-party Stream or Connection
|
||||
* (call <code>Session.forceUnpublish()</code> and <code>Session.forceDisconnect()</code>)
|
||||
*/
|
||||
MODERATOR;
|
||||
}
|
||||
|
|
|
@ -18,17 +18,18 @@
|
|||
export enum OpenViduRole {
|
||||
|
||||
/**
|
||||
* Can subscribe to published streams of other users
|
||||
* Can subscribe to published Streams of other users
|
||||
*/
|
||||
SUBSCRIBER = 'SUBSCRIBER',
|
||||
|
||||
/**
|
||||
* SUBSCRIBER permissions + can publish their own streams
|
||||
* SUBSCRIBER permissions + can publish their own Streams (call `Session.publish()`)
|
||||
*/
|
||||
PUBLISHER = 'PUBLISHER',
|
||||
|
||||
/**
|
||||
* _(not available yet)_ SUBSCRIBER + PUBLIHSER permissions + can force `unpublish()` and `disconnect()` over a third-party stream or user
|
||||
* SUBSCRIBER + PUBLISHER permissions + can force the unpublishing or disconnection over a third-party Stream or Connection
|
||||
* (call `Session.forceUnpublish()` and `Session.forceDisconnect()`)
|
||||
*/
|
||||
MODERATOR = 'MODERATOR'
|
||||
}
|
Loading…
Reference in New Issue