CaptureSession

An initialized media capture session

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
id string Session identifier
state string
videoDeviceId string
audioDeviceId string
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-capturesession-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CaptureSession",
  "title": "CaptureSession",
  "type": "object",
  "description": "An initialized media capture session",
  "properties": {
    "id": {
      "type": "string",
      "description": "Session identifier"
    },
    "state": {
      "type": "string",
      "enum": [
        "Initialized",
        "Previewing",
        "Recording",
        "Paused"
      ]
    },
    "videoDeviceId": {
      "type": "string"
    },
    "audioDeviceId": {
      "type": "string"
    }
  }
}