"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var camera_exports = {};
__export(camera_exports, {
  CameraDevice: () => CameraDevice,
  CameraDeviceDefinition: () => CameraDeviceDefinition,
  CameraRequirements: () => CameraRequirements
});
module.exports = __toCommonJS(camera_exports);
var import_CameraAvStreamManagementServer = require("../behaviors/camera-av-stream-management/CameraAvStreamManagementServer.js");
var import_WebRtcTransportProviderServer = require("../behaviors/web-rtc-transport-provider/WebRtcTransportProviderServer.js");
var import_WebRtcTransportRequestorServer = require("../behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.js");
var import_PushAvStreamTransportServer = require("../behaviors/push-av-stream-transport/PushAvStreamTransportServer.js");
var import_CameraAvSettingsUserLevelManagementServer = require("../behaviors/camera-av-settings-user-level-management/CameraAvSettingsUserLevelManagementServer.js");
var import_ZoneManagementServer = require("../behaviors/zone-management/ZoneManagementServer.js");
var import_OccupancySensingServer = require("../behaviors/occupancy-sensing/OccupancySensingServer.js");
var import_IdentifyServer = require("../behaviors/identify/IdentifyServer.js");
var import_WebRtcTransportRequestorClient = require("../behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorClient.js");
var import_WebRtcTransportProviderClient = require("../behaviors/web-rtc-transport-provider/WebRtcTransportProviderClient.js");
var import_MutableEndpoint = require("../endpoint/type/MutableEndpoint.js");
var import_SupportedBehaviors = require("../endpoint/properties/SupportedBehaviors.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
var CameraRequirements;
((CameraRequirements2) => {
  CameraRequirements2.CameraAvStreamManagementServer = import_CameraAvStreamManagementServer.CameraAvStreamManagementServer.with("Video", "Audio", "Snapshot");
  CameraRequirements2.WebRtcTransportProviderServer = import_WebRtcTransportProviderServer.WebRtcTransportProviderServer;
  CameraRequirements2.WebRtcTransportRequestorServer = import_WebRtcTransportRequestorServer.WebRtcTransportRequestorServer;
  CameraRequirements2.PushAvStreamTransportServer = import_PushAvStreamTransportServer.PushAvStreamTransportServer;
  CameraRequirements2.CameraAvSettingsUserLevelManagementServer = import_CameraAvSettingsUserLevelManagementServer.CameraAvSettingsUserLevelManagementServer;
  CameraRequirements2.ZoneManagementServer = import_ZoneManagementServer.ZoneManagementServer.with("TwoDimensionalCartesianZone");
  CameraRequirements2.OccupancySensingServer = import_OccupancySensingServer.OccupancySensingServer;
  CameraRequirements2.IdentifyServer = import_IdentifyServer.IdentifyServer;
  CameraRequirements2.WebRtcTransportRequestorClient = import_WebRtcTransportRequestorClient.WebRtcTransportRequestorClient;
  CameraRequirements2.WebRtcTransportProviderClient = import_WebRtcTransportProviderClient.WebRtcTransportProviderClient;
  CameraRequirements2.server = {
    mandatory: {
      CameraAvStreamManagement: CameraRequirements2.CameraAvStreamManagementServer,
      WebRtcTransportProvider: CameraRequirements2.WebRtcTransportProviderServer
    },
    optional: {
      WebRtcTransportRequestor: CameraRequirements2.WebRtcTransportRequestorServer,
      PushAvStreamTransport: CameraRequirements2.PushAvStreamTransportServer,
      CameraAvSettingsUserLevelManagement: CameraRequirements2.CameraAvSettingsUserLevelManagementServer,
      ZoneManagement: CameraRequirements2.ZoneManagementServer,
      OccupancySensing: CameraRequirements2.OccupancySensingServer,
      Identify: CameraRequirements2.IdentifyServer
    }
  };
  CameraRequirements2.client = {
    mandatory: { WebRtcTransportRequestor: CameraRequirements2.WebRtcTransportRequestorClient },
    optional: { WebRtcTransportProvider: CameraRequirements2.WebRtcTransportProviderClient }
  };
})(CameraRequirements || (CameraRequirements = {}));
const CameraDeviceDefinition = (0, import_MutableEndpoint.MutableEndpoint)({
  name: "Camera",
  deviceType: 322,
  deviceRevision: 1,
  requirements: CameraRequirements,
  behaviors: (0, import_SupportedBehaviors.SupportedBehaviors)(CameraRequirements.server.mandatory.WebRtcTransportProvider)
});
Object.freeze(CameraDeviceDefinition);
const CameraDevice = CameraDeviceDefinition;
//# sourceMappingURL=camera.js.map
