fix: start raw tracks recording (#729)

* Start raw tracks recording

* Bring back recording properties
This commit is contained in:
2025-11-18 21:04:32 +01:00
committed by GitHub
parent 616092a9bb
commit 3e47c2c057

View File

@@ -60,6 +60,15 @@ export default function DailyRoom({ meeting }: DailyRoomProps) {
}
frame.on("left-meeting", handleLeave);
frame.on("joined-meeting", async () => {
try {
await frame.startRecording({ type: "raw-tracks" });
} catch (error) {
console.error("Failed to start recording:", error);
}
});
await frame.join({ url: roomUrl });
} catch (error) {
console.error("Error creating Daily frame:", error);