[
	{
		"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"
	}
]
