mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-04-30 21:12:44 +02:00
Introduce feature flag for split audio/video permissions.
The flag name "audio-video-permissions" will be used for this.
This commit is contained in:
parent
a05acc9cb4
commit
61f039bb88
|
@ -323,15 +323,18 @@ func (m *HelloClientMessage) CheckValid() error {
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Features for all clients.
|
// Features for all clients.
|
||||||
ServerFeatureMcu = "mcu"
|
ServerFeatureMcu = "mcu"
|
||||||
ServerFeatureSimulcast = "simulcast"
|
ServerFeatureSimulcast = "simulcast"
|
||||||
|
ServerFeatureAudioVideoPermissions = "audio-video-permissions"
|
||||||
|
|
||||||
// Features for internal clients only.
|
// Features for internal clients only.
|
||||||
ServerFeatureInternalVirtualSessions = "virtual-sessions"
|
ServerFeatureInternalVirtualSessions = "virtual-sessions"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
DefaultFeatures []string
|
DefaultFeatures []string = []string{
|
||||||
|
ServerFeatureAudioVideoPermissions,
|
||||||
|
}
|
||||||
DefaultFeaturesInternal []string = []string{
|
DefaultFeaturesInternal []string = []string{
|
||||||
ServerFeatureInternalVirtualSessions,
|
ServerFeatureInternalVirtualSessions,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue