0
0
Fork 0
mirror of https://github.com/strukturag/nextcloud-spreed-signaling.git synced 2025-04-11 14:21:18 +00:00

Merge pull request from strukturag/feature-offer-codecs

Add feature id for supporting codec parameters in offer.
This commit is contained in:
Joachim Bauch 2025-01-22 10:29:26 +01:00 committed by GitHub
commit b2bfe5066d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -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,
}
)

View file

@ -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):