2017-06-10 01:44:31 +02:00
|
|
|
export declare enum OpenViduRole {
|
2018-04-24 15:42:23 +02:00
|
|
|
/**
|
2018-07-12 09:26:29 +02:00
|
|
|
* Can subscribe to published Streams of other users
|
2018-04-24 15:42:23 +02:00
|
|
|
*/
|
2018-01-27 19:39:49 +01:00
|
|
|
SUBSCRIBER = "SUBSCRIBER",
|
2018-04-24 15:42:23 +02:00
|
|
|
/**
|
2018-07-12 09:26:29 +02:00
|
|
|
* SUBSCRIBER permissions + can publish their own Streams (call `Session.publish()`)
|
2018-04-24 15:42:23 +02:00
|
|
|
*/
|
2018-01-27 19:39:49 +01:00
|
|
|
PUBLISHER = "PUBLISHER",
|
2018-04-24 15:42:23 +02:00
|
|
|
/**
|
2018-07-12 09:26:29 +02:00
|
|
|
* SUBSCRIBER + PUBLISHER permissions + can force the unpublishing or disconnection over a third-party Stream or Connection
|
|
|
|
* (call `Session.forceUnpublish()` and `Session.forceDisconnect()`)
|
2018-04-24 15:42:23 +02:00
|
|
|
*/
|
2018-06-04 16:03:03 +02:00
|
|
|
MODERATOR = "MODERATOR"
|
2017-06-10 01:44:31 +02:00
|
|
|
}
|