import { Format } from './TypeDefine'; import { getFullScreenSize } from './Utils'; export class OutputConfig { constructor(z19, a20, b20, c20) { this.outputSize = getFullScreenSize(); this.format = Format.DEFAULT; this.fps = 12; this.surfaceId = z19; if (a20 !== undefined) { this.outputSize = a20; } if (b20 !== undefined) { this.format = b20; } if (c20 !== undefined) { this.fps = c20; } } toString() { return `OutputConfig {
      surfaceId: ${this.surfaceId},
      outputSize: ${this.outputSize.toString()},
      format: ${this.format},
      fps: ${this.fps},
      }`; } } 