{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openvidu-io/json-schema/openvidu-io-post-openvidu-api-broadcast-start-request-schema.json",
  "title": "PostOpenviduApiBroadcastStartRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/openvidu-io-openapi-generated.yml#/components/schemas/PostOpenviduApiBroadcastStartRequest",
  "type": "object",
  "properties": {
    "session": {
      "type": "string",
      "description": "the sessionId of the session you want to start broadcasting"
    },
    "broadcastUrl": {
      "type": "string",
      "description": "the URL where to broadcast"
    },
    "hasAudio": {
      "type": "boolean",
      "description": "whether to broadcast the audio or not (default true)"
    },
    "hasVideo": {
      "type": "boolean",
      "description": "whether to broadcast the video or not (default true)"
    },
    "recordingLayout": {
      "type": "string",
      "description": "layout to be used in this broadcast"
    },
    "customLayout": {
      "type": "string",
      "description": "custom layout path (only if recordingLayout=CUSTOM)"
    },
    "resolution": {
      "type": "string",
      "description": "resolution of the broadcast, e.g. \"1280x720\""
    },
    "frameRate": {
      "type": "number",
      "description": "frame rate of the broadcast"
    },
    "shmSize": {
      "type": "number",
      "description": "memory dedicated to the broadcasting module in bytes"
    },
    "mediaNode": {
      "type": "object",
      "description": "Media Node selector to force allocation"
    }
  },
  "required": [
    "session",
    "broadcastUrl"
  ]
}