Skip to content

Commit

Permalink
Add feature flag for hello version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed Jul 7, 2022
1 parent d11c0fa commit e9c3838
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api_signaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ const (
ServerFeatureTransientData = "transient-data"
ServerFeatureInCallAll = "incall-all"
ServerFeatureWelcome = "welcome"
ServerFeatureHelloV2 = "hello-v2"

// Features for internal clients only.
ServerFeatureInternalVirtualSessions = "virtual-sessions"
Expand All @@ -442,19 +443,22 @@ var (
ServerFeatureTransientData,
ServerFeatureInCallAll,
ServerFeatureWelcome,
ServerFeatureHelloV2,
}
DefaultFeaturesInternal = []string{
ServerFeatureInternalVirtualSessions,
ServerFeatureTransientData,
ServerFeatureInCallAll,
ServerFeatureWelcome,
ServerFeatureHelloV2,
}
DefaultWelcomeFeatures = []string{
ServerFeatureAudioVideoPermissions,
ServerFeatureInternalVirtualSessions,
ServerFeatureTransientData,
ServerFeatureInCallAll,
ServerFeatureWelcome,
ServerFeatureHelloV2,
}
)

Expand Down

0 comments on commit e9c3838

Please sign in to comment.