mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "capabilities_lifecycle",
|
|
"events": [
|
|
{
|
|
"type": "capabilities.changed",
|
|
"capabilities": {
|
|
"connect": true,
|
|
"microphone": true,
|
|
"camera": true,
|
|
"screen": true,
|
|
"screenAudio": true,
|
|
"outputDevice": true,
|
|
"participantVolume": true,
|
|
"remoteTrackSubscription": true,
|
|
"dataChannel": true,
|
|
"stats": true,
|
|
"nativeVideoFrames": true,
|
|
"hardwareEncoding": true,
|
|
"zeroCopyScreenTransport": true,
|
|
"nativeAudioTaps": true
|
|
}
|
|
},
|
|
{"type": "capabilities.hardwareEncoderQueryRequested"},
|
|
{
|
|
"type": "capabilities.hardwareEncoderChanged",
|
|
"operationId": 1,
|
|
"capabilities": {
|
|
"available": true,
|
|
"backend": "nvenc",
|
|
"compiled": true,
|
|
"runtime": true,
|
|
"codecs": ["h264", "hevc"],
|
|
"zeroCopy": true,
|
|
"nativeInputs": ["d3d11-texture"]
|
|
}
|
|
}
|
|
],
|
|
"expectedCommands": [[], [{"type": "capabilities.queryHardwareEncoder", "operationId": 1}], []],
|
|
"expected": {
|
|
"nextOperationId": 2,
|
|
"hardwareEncoderOperationId": null,
|
|
"hardwareEncoderFailureCode": null,
|
|
"hardwareEncoderBackend": "nvenc",
|
|
"hasZeroCopyNativeInput": true,
|
|
"hasNativeNvencH264": true,
|
|
"hasNativeNvencH265": true
|
|
}
|
|
}
|