mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Add feature id for supporting codec parameters in offer.
This commit is contained in:
parent
00b4f20d95
commit
5e14d9ec03
2 changed files with 6 additions and 0 deletions
|
|
@ -532,6 +532,7 @@ const (
|
|||
ServerFeatureFederation = "federation"
|
||||
ServerFeatureRecipientCall = "recipient-call"
|
||||
ServerFeatureJoinFeatures = "join-features"
|
||||
ServerFeatureOfferCodecs = "offer-codecs"
|
||||
|
||||
// Features to send to internal clients only.
|
||||
ServerFeatureInternalVirtualSessions = "virtual-sessions"
|
||||
|
|
@ -553,6 +554,7 @@ var (
|
|||
ServerFeatureFederation,
|
||||
ServerFeatureRecipientCall,
|
||||
ServerFeatureJoinFeatures,
|
||||
ServerFeatureOfferCodecs,
|
||||
}
|
||||
DefaultFeaturesInternal = []string{
|
||||
ServerFeatureInternalVirtualSessions,
|
||||
|
|
@ -565,6 +567,7 @@ var (
|
|||
ServerFeatureFederation,
|
||||
ServerFeatureRecipientCall,
|
||||
ServerFeatureJoinFeatures,
|
||||
ServerFeatureOfferCodecs,
|
||||
}
|
||||
DefaultWelcomeFeatures = []string{
|
||||
ServerFeatureAudioVideoPermissions,
|
||||
|
|
@ -578,6 +581,7 @@ var (
|
|||
ServerFeatureFederation,
|
||||
ServerFeatureRecipientCall,
|
||||
ServerFeatureJoinFeatures,
|
||||
ServerFeatureOfferCodecs,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1027,6 +1027,8 @@ separated list in order of preference.
|
|||
- `h264profile`: H.264-specific profile to prefer, e.g. `42e01f` for
|
||||
`profile-level-id=42e01f`.
|
||||
|
||||
Codec parameters (`audiocodec`, `videocodec`, `vp9profile` and `h264profile`)
|
||||
can be provided if the server supports the `offer-codecs` feature id.
|
||||
|
||||
Message format (Server -> Client, send answer):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue