import { session } from "../src/index.js"; const myTestSession = session({ description: "A game test session", resolution: "1080x1920", videoBitDepth: 8, machine: "ns3-medium", videoCodec: "h264", framerate: 60, audioBitrate: 128, gpuCardPath: "/dev/dri/renderD128", run: async (payload) => { console.log("Running test session with payload:", payload); return { message: "Test session completed" }; }, }); myTestSession.start({}).then((result) => { console.log("Session result:", result); });