id: unifi-protect-camera-stream name: UniFi Protect Camera Stream version: 0.1.2 description: Streams UniFi Protect camera media through the ServiceRadar media host bridge entrypoint: stream_camera runtime: wasi-preview1 outputs: serviceradar.camera_stream.v1 capabilities: - get_config - log - camera_media_stream - http_request - tcp_connect - tcp_read - tcp_write - tcp_close permissions: allowed_domains: - "*" # Domain wildcards never match literal-IP destinations; these ranges cover # Protect controllers addressed by private or carrier-grade NAT IP. Link-local # (169.254.0.0/16) is excluded: no controller is deliberately addressed there. allowed_networks: - "10.0.0.0/8" - "172.16.0.0/12" - "192.168.0.0/16" - "100.64.0.0/10" allowed_ports: - 80 - 443 - 7447 - 7441 resources: requested_memory_mb: 64 requested_cpu_ms: 2000 max_open_connections: 1