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