Hidden participants (#4)

* add hidden field

* add hidden to participant info

* add comment

* move hidden
This commit is contained in:
David Colburn
2021-07-19 17:08:11 -05:00
committed by GitHub
parent ccbb4aba6e
commit 71fedf0a8a
2 changed files with 5 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ type VideoGrant struct {
// it's interpreted as both are permissible
CanPublish bool `json:"canPublish,omitempty"`
CanSubscribe bool `json:"canSubscribe,omitempty"`
// used for recording
Hidden bool `json:"hidden,omitempty"`
}
type ClaimGrants struct {

View File

@@ -36,6 +36,8 @@ message ParticipantInfo {
string metadata = 5;
// timestamp when participant joined room
int64 joined_at = 6;
// hidden participant (used for recording)
bool hidden = 7;
}
enum TrackType {