feat: screencast config
This commit is contained in:
@@ -21,13 +21,21 @@ import { getInjectableScript } from 'idcac-playwright';
|
||||
import { BackendPerformanceMonitor } from '../../../../perf/performance'
|
||||
chromium.use(stealthPlugin());
|
||||
|
||||
// Memory management configuration
|
||||
const MEMORY_CONFIG = {
|
||||
gcInterval: 60000, // 1 minute
|
||||
maxHeapSize: 2048 * 1024 * 1024, // 2GB
|
||||
heapUsageThreshold: 0.85 // 85%
|
||||
};
|
||||
|
||||
const SCREENCAST_CONFIG = {
|
||||
format: 'jpeg',
|
||||
quality: 75,
|
||||
maxWidth: 1280,
|
||||
maxHeight: 720,
|
||||
targetFPS: 30,
|
||||
compressionQuality: 0.8,
|
||||
maxQueueSize: 2
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user