Skip to content

Commit

Permalink
Update VideoGrant.kt (#47)
Browse files Browse the repository at this point in the history
In VideoGrant.kt, there seems to be a mistake in description of CanSubscibe and CanPublushData class. Description of CanSubscribe is supposed to be allow participants to subscrive to the room and similar for CanPublishData class.
  • Loading branch information
ap0xF authored Dec 26, 2023
1 parent 6f78501 commit ac08f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/io/livekit/server/VideoGrant.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ class RoomName(value: String) : VideoGrant("room", value)
class CanPublish(value: Boolean) : VideoGrant("canPublish", value)

/**
* allow participant to publish data to the room
* allow participant to subscribe to the room
*/
class CanSubscribe(value: Boolean) : VideoGrant("canSubscribe", value)

/**
* allow participant to subscribe to tracks
* allow participant to publish data to tracks
*/
class CanPublishData(value: Boolean) : VideoGrant("canPublishData", value)

Expand Down

0 comments on commit ac08f1f

Please sign in to comment.