mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2025-04-11 14:21:18 +00:00
Merge pull request #902 from strukturag/feature-offer-codecs
Add feature id for supporting codec parameters in offer.
This commit is contained in:
commit
b2bfe5066d
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
Reference in a new issue