videosphere
    Preparing search index...
    • POST(
          req: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<{ ok: boolean; action: string }>,
      >

      Starts or stops the RTSP→PCM puller when MediaMTX signals path availability.

      Parameters

      • req: NextRequest

        Incoming webhook request.

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<{ ok: boolean; action: string }>,
      >

      200 when handled; 401 when unauthorized; 400 when invalid.