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

20 lines
610 B
TypeScript
Raw Normal View History

// Module ID: 15218
// Function ID: 15219
// Name: SessionManager
2026-07-29 08:29:29 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Module 15218 (SessionManager)
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.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;