frontend: Fix expiration date calculation for room options

This commit is contained in:
juancarmore 2025-03-13 15:09:00 +01:00
parent a692f8e37f
commit 13e9540b60

View File

@ -142,7 +142,7 @@ export class HomeComponent implements OnInit, OnDestroy {
// TODO: Fix expiration date
const options: OpenViduMeetRoomOptions = {
roomNamePrefix,
expirationDate: Date.now() + 3600 // 1 hour
expirationDate: Date.now() + 3600 * 1000 // 1 hour
};
const room: OpenViduMeetRoom = await this.httpService.createRoom(options);