{
  "name": "room-to-rtmp",
  "sources": [
    {
      "name": "room",
      "type": "livekit",
      "config": { "serverUrl": "wss://your-project.livekit.cloud", "token": "eyJ..." }
    }
  ],
  "nodes": [
    {
      "name": "video",
      "type": "video_mixer",
      "inputs": ["room"],
      "config": { "layout": { "mode": "grid" } }
    },
    { "name": "audio", "type": "audio_mixer", "inputs": ["room"] }
  ],
  "sinks": [
    {
      "name": "stream",
      "type": "rtmp_push",
      "inputs": ["video", "audio"],
      "config": {
        "urls": ["rtmp://live.example.com/app/stream-key"],
        "encoding": { "videoCodec": "h264", "audioCodec": "aac" }
      }
    }
  ]
}
