mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor: remove dead code (#3337)
This commit is contained in:
1 parent
a19002652b
commit
93d1f8af46
1527 files changed
+21170
-73846
No files matched your search
@@ -1,66 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name": "valid zero-copy native capture start",
|
||||
"command": {
|
||||
"type": "nativeCapture.start",
|
||||
"operationId": 1,
|
||||
"options": {
|
||||
"captureId": "capture-1",
|
||||
"source": {
|
||||
"id": "display-1",
|
||||
"kind": "screen",
|
||||
"title": "Display 1",
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"displayId": "display-1"
|
||||
},
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"frameRate": 60,
|
||||
"includeCursor": true,
|
||||
"includeAudio": false,
|
||||
"zeroCopyRequired": true
|
||||
}
|
||||
},
|
||||
"expectedOk": true
|
||||
},
|
||||
{
|
||||
"name": "reject native capture start without zero-copy requirement",
|
||||
"command": {
|
||||
"type": "nativeCapture.start",
|
||||
"operationId": 2,
|
||||
"options": {
|
||||
"captureId": "capture-2",
|
||||
"source": {
|
||||
"id": "window-1",
|
||||
"kind": "window",
|
||||
"title": "Window 1",
|
||||
"windowId": "window-1"
|
||||
},
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"frameRate": 60,
|
||||
"includeCursor": true,
|
||||
"includeAudio": false,
|
||||
"zeroCopyRequired": false
|
||||
}
|
||||
},
|
||||
"expectedOk": false,
|
||||
"expectedError": "zeroCopyRequired"
|
||||
},
|
||||
{
|
||||
"name": "reject native frame sink without zero-copy requirement",
|
||||
"command": {
|
||||
"type": "nativeFrameSink.attach",
|
||||
"operationId": 3,
|
||||
"options": {
|
||||
"sinkId": "sink-1",
|
||||
"captureId": "capture-1",
|
||||
"trackSid": "TR_screen",
|
||||
"zeroCopyRequired": false
|
||||
}
|
||||
},
|
||||
"expectedOk": false,
|
||||
"expectedError": "zeroCopyRequired"
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user