feat: screenshare hardware acceleration

This commit is contained in:
Hampus Kraft
2026-02-19 16:48:13 +00:00
parent 1a1d13b571
commit 868ddecda4
43 changed files with 1077 additions and 1378 deletions

View File

@@ -927,8 +927,6 @@ description: 'Admin object schemas from the Fluxer API.'
- [`POST /channels/{channel_id}/call/end`](/api-reference/channels/end-call-session)
- [`POST /channels/{channel_id}/call/ring`](/api-reference/channels/ring-call-recipients)
- [`POST /channels/{channel_id}/call/stop-ringing`](/api-reference/channels/stop-ringing-call-recipients)
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
- [`POST /channels/{channel_id}/invites`](/api-reference/invites/create-channel-invite)
- [`POST /channels/{channel_id}/messages`](/api-reference/channels/send-a-message)
- [`POST /channels/{channel_id}/messages/{message_id}/ack`](/api-reference/channels/acknowledge-a-message)
@@ -1035,7 +1033,6 @@ description: 'Admin object schemas from the Fluxer API.'
- [`POST /webhooks/{webhook_id}/{token}/github`](/api-reference/webhooks/execute-github-webhook)
- [`POST /webhooks/{webhook_id}/{token}/sentry`](/api-reference/webhooks/execute-sentry-webhook)
- [`POST /webhooks/{webhook_id}/{token}/slack`](/api-reference/webhooks/execute-slack-webhook)
- [`PUT /channels/{channel_id}/chunked-uploads/{upload_id}/chunks/{chunk_index}`](/api-reference/channels/upload-a-file-chunk)
- [`PUT /channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me`](/api-reference/channels/add-reaction-to-message)
- [`PUT /channels/{channel_id}/permissions/{overwrite_id}`](/api-reference/channels/set-permission-overwrite-for-channel)
- [`PUT /channels/{channel_id}/pins/{message_id}`](/api-reference/channels/pin-a-message)

View File

@@ -360,60 +360,6 @@ Type: [ChannelUpdateTextRequest](#channelupdatetextrequest) \| [ChannelUpdateVoi
| url? | ?string | External URL for link channels |
| user_limit? | ?integer (int32) | Maximum users allowed in voice channel (0-99, 0 means unlimited) |
<a id="completechunkeduploadrequest"></a>
## CompleteChunkedUploadRequest
**Related endpoints**
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
| Field | Type | Description |
|-------|------|-------------|
| etags | [CompleteChunkedUploadRequestEtagsItem](#completechunkeduploadrequestetagsitem)[] | Array of chunk ETags in order |
<a id="completechunkeduploadresponse"></a>
## CompleteChunkedUploadResponse
**Related endpoints**
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
| Field | Type | Description |
|-------|------|-------------|
| content_type | string | The MIME type of the uploaded file |
| file_size | integer (int53) | The total size of the uploaded file in bytes |
| upload_filename | string | The temporary filename used to reference this upload |
<a id="createchunkeduploadrequest"></a>
## CreateChunkedUploadRequest
**Related endpoints**
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
| Field | Type | Description |
|-------|------|-------------|
| file_size | integer (int64) | The total size of the file in bytes |
| filename | string | The name of the file being uploaded |
<a id="createchunkeduploadresponse"></a>
## CreateChunkedUploadResponse
**Related endpoints**
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
| Field | Type | Description |
|-------|------|-------------|
| chunk_count | integer (int53) | The total number of chunks to upload |
| chunk_size | integer (int53) | The size of each chunk in bytes |
| upload_filename | string | The temporary filename used to reference this upload |
| upload_id | [SnowflakeType](#snowflaketype) | The unique identifier for the upload session |
<a id="embedauthorresponse"></a>
## EmbedAuthorResponse
@@ -999,18 +945,6 @@ Type: [UserPartialResponse](#userpartialresponse)[]
|-------|------|-------------|
| region? | string | The preferred voice region for the stream (1-64 characters) |
<a id="uploadchunkresponse"></a>
## UploadChunkResponse
**Related endpoints**
- [`PUT /channels/{channel_id}/chunked-uploads/{upload_id}/chunks/{chunk_index}`](/api-reference/channels/upload-a-file-chunk)
| Field | Type | Description |
|-------|------|-------------|
| etag | string | The ETag of the uploaded chunk |
<a id="voiceregionadminresponse"></a>
## VoiceRegionAdminResponse
@@ -1148,17 +1082,6 @@ The type of message
| `7` | A system message indicating a user joined |
| `19` | A reply message |
<a id="completechunkeduploadrequestetagsitem"></a>
## CompleteChunkedUploadRequestEtagsItem
Array of chunk ETags in order
| Field | Type | Description |
|-------|------|-------------|
| chunk_index | integer (int64) | The zero-based index of the chunk |
| etag | string | The ETag returned when the chunk was uploaded |
<a id="messagereactionresponseemoji"></a>
## MessageReactionResponseEmoji

View File

@@ -1029,8 +1029,6 @@ The NSFW level of the guild
- [`POST /channels/{channel_id}/call/end`](/api-reference/channels/end-call-session)
- [`POST /channels/{channel_id}/call/ring`](/api-reference/channels/ring-call-recipients)
- [`POST /channels/{channel_id}/call/stop-ringing`](/api-reference/channels/stop-ringing-call-recipients)
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
- [`POST /channels/{channel_id}/invites`](/api-reference/invites/create-channel-invite)
- [`POST /channels/{channel_id}/messages`](/api-reference/channels/send-a-message)
- [`POST /channels/{channel_id}/messages/{message_id}/ack`](/api-reference/channels/acknowledge-a-message)
@@ -1062,7 +1060,6 @@ The NSFW level of the guild
- [`POST /webhooks/{webhook_id}/{token}/github`](/api-reference/webhooks/execute-github-webhook)
- [`POST /webhooks/{webhook_id}/{token}/sentry`](/api-reference/webhooks/execute-sentry-webhook)
- [`POST /webhooks/{webhook_id}/{token}/slack`](/api-reference/webhooks/execute-slack-webhook)
- [`PUT /channels/{channel_id}/chunked-uploads/{upload_id}/chunks/{chunk_index}`](/api-reference/channels/upload-a-file-chunk)
- [`PUT /channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me`](/api-reference/channels/add-reaction-to-message)
- [`PUT /channels/{channel_id}/permissions/{overwrite_id}`](/api-reference/channels/set-permission-overwrite-for-channel)
- [`PUT /channels/{channel_id}/pins/{message_id}`](/api-reference/channels/pin-a-message)

View File

@@ -21,7 +21,7 @@ Resource tables use a compact notation:
- [Admin](/resources/admin) (173 schemas)
- [Auth](/resources/auth) (37 schemas)
- [Billing](/resources/billing) (3 schemas)
- [Channels](/resources/channels) (71 schemas)
- [Channels](/resources/channels) (66 schemas)
- [Common](/resources/common) (35 schemas)
- [Gateway](/resources/gateway) (2 schemas)
- [Gifts](/resources/gifts) (1 schemas)
@@ -122,16 +122,12 @@ Resource tables use a compact notation:
- [ClearGuildFieldsRequest](/resources/admin#clearguildfieldsrequest)
- [ClearUserFieldsRequest](/resources/admin#clearuserfieldsrequest)
- [CodesResponse](/resources/admin#codesresponse)
- [CompleteChunkedUploadRequest](/resources/channels#completechunkeduploadrequest)
- [CompleteChunkedUploadResponse](/resources/channels#completechunkeduploadresponse)
- [ConnectionListResponse](/resources/common#connectionlistresponse)
- [ConnectionResponse](/resources/common#connectionresponse)
- [ConnectionVerificationResponse](/resources/common#connectionverificationresponse)
- [CreateAdminApiKeyRequest](/resources/admin#createadminapikeyrequest)
- [CreateAdminApiKeyResponse](/resources/admin#createadminapikeyresponse)
- [CreateCheckoutSessionRequest](/resources/billing#createcheckoutsessionrequest)
- [CreateChunkedUploadRequest](/resources/channels#createchunkeduploadrequest)
- [CreateChunkedUploadResponse](/resources/channels#createchunkeduploadresponse)
- [CreateConnectionRequest](/resources/common#createconnectionrequest)
- [CreateFavoriteMemeBodySchema](/resources/saved_media#createfavoritememebodyschema)
- [CreateFavoriteMemeFromUrlBodySchema](/resources/saved_media#createfavoritememefromurlbodyschema)
@@ -531,7 +527,6 @@ Resource tables use a compact notation:
- [UpdateVoiceRegionResponse](/resources/admin#updatevoiceregionresponse)
- [UpdateVoiceServerRequest](/resources/admin#updatevoiceserverrequest)
- [UpdateVoiceServerResponse](/resources/admin#updatevoiceserverresponse)
- [UploadChunkResponse](/resources/channels#uploadchunkresponse)
- [UrlResponse](/resources/billing#urlresponse)
- [UserAdminResponseSchema](/resources/common#useradminresponseschema)
- [UserAuthenticatorTypes](/resources/common#userauthenticatortypes)