{
  "name": "ESP32-CAM RTSP Development",
  "image": "platformio/platformio-core",
  "customizations": {
    "vscode": {
      "extensions": [
        "platformio.platformio-ide",
        "ms-vscode.cpptools",
        "ms-vscode.cmake-tools"
      ]
    }
  },
  "mounts": ["source=/dev,target=/dev,type=bind"],
  "runArgs": ["--privileged", "--device-cgroup-rule=c 166:* rmw"],
  "postCreateCommand": "pio pkg update -g -p espressif32",
  "remoteUser": "root",
  "forwardPorts": [80, 554],
  "portsAttributes": {
    "80": { "label": "Web Interface" },
    "554": { "label": "RTSP Stream" }
  }
}
