feat: set screencast type as jpeg | png
This commit is contained in:
@@ -27,7 +27,15 @@ const MEMORY_CONFIG = {
|
|||||||
heapUsageThreshold: 0.85 // 85%
|
heapUsageThreshold: 0.85 // 85%
|
||||||
};
|
};
|
||||||
|
|
||||||
const SCREENCAST_CONFIG = {
|
const SCREENCAST_CONFIG: {
|
||||||
|
format: "jpeg" | "png";
|
||||||
|
quality: number;
|
||||||
|
maxWidth: number;
|
||||||
|
maxHeight: number;
|
||||||
|
targetFPS: number;
|
||||||
|
compressionQuality: number;
|
||||||
|
maxQueueSize: number;
|
||||||
|
} = {
|
||||||
format: 'jpeg',
|
format: 'jpeg',
|
||||||
quality: 75,
|
quality: 75,
|
||||||
maxWidth: 1280,
|
maxWidth: 1280,
|
||||||
|
|||||||
Reference in New Issue
Block a user