decord/source/modules/video-qoe/utils/SessionManager.tsx

18 lines
588 B
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 14446
// Function ID: 14447
2026-07-29 08:29:29 +00:00
// Name: generateSessionId
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
2026-08-12 06:57:52 +00:00
// Module 14446 (generateSessionId)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/video-qoe/utils/SessionManager.tsx");
2026-07-29 08:29:29 +00:00
const prototype = function SessionManager() {
return Object.create(new.target.prototype);
}.prototype;
prototype["generateSessionId"] = function generateSessionId() {
const timestamp = Date.now();
const str = Math.random();
return "discord-video-" + timestamp + "-" + Math.random().toString(36).substr(2, 9);
};
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
export const SessionManager = prototype;