feat: Add a lot of stuff

This commit is contained in:
Wanjohi
2025-10-25 22:11:33 +03:00
parent a3ee9aadd9
commit c5d0242d50
85 changed files with 6718 additions and 1377 deletions

View File

@@ -0,0 +1,22 @@
import { session } from "../src/index.js";
const myTestSession = session({
id: "test-session",
description: "A game test session",
resolution: "1080x1920",
videoBitDepth: 8,
machine: "gpu-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);
});