feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment
Some checks failed
CI Pipeline / Code Quality & Typecheck (push) Waiting to run
CI Pipeline / Test Suite (macos-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (ubuntu-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (windows-latest) (push) Blocked by required conditions
CI Pipeline / Build Validation (admin) (push) Blocked by required conditions
CI Pipeline / Build Validation (desktop) (push) Blocked by required conditions
Deploy Landing Page / deploy (push) Blocked by required conditions
Deploy Landing Page / build (push) Waiting to run
Release & Packaging Pipeline / Build & Publish Admin Docker Image (push) Failing after 8s
Release & Code Signing CA Pipeline / build-and-sign-windows (push) Failing after 1m51s
Build macOS / Build & Package (macOS) (push) Failing after 4s
Build macOS / Build & Package (macOS)-1 (push) Failing after 5s
Release & Code Signing CA Pipeline / build-and-sign-macos (push) Failing after 3s
Release & Packaging Pipeline / Package macOS Desktop App (push) Failing after 4s
Release & Packaging Pipeline / Package Windows Desktop App (push) Failing after 2m28s
Release & Packaging Pipeline / Publish Official GitHub Release (push) Has been skipped
Some checks failed
CI Pipeline / Code Quality & Typecheck (push) Waiting to run
CI Pipeline / Test Suite (macos-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (ubuntu-latest) (push) Blocked by required conditions
CI Pipeline / Test Suite (windows-latest) (push) Blocked by required conditions
CI Pipeline / Build Validation (admin) (push) Blocked by required conditions
CI Pipeline / Build Validation (desktop) (push) Blocked by required conditions
Deploy Landing Page / deploy (push) Blocked by required conditions
Deploy Landing Page / build (push) Waiting to run
Release & Packaging Pipeline / Build & Publish Admin Docker Image (push) Failing after 8s
Release & Code Signing CA Pipeline / build-and-sign-windows (push) Failing after 1m51s
Build macOS / Build & Package (macOS) (push) Failing after 4s
Build macOS / Build & Package (macOS)-1 (push) Failing after 5s
Release & Code Signing CA Pipeline / build-and-sign-macos (push) Failing after 3s
Release & Packaging Pipeline / Package macOS Desktop App (push) Failing after 4s
Release & Packaging Pipeline / Package Windows Desktop App (push) Failing after 2m28s
Release & Packaging Pipeline / Publish Official GitHub Release (push) Has been skipped
This commit is contained in:
parent
5cd1de6859
commit
708e20f747
406 changed files with 42464 additions and 6199 deletions
|
|
@ -7,6 +7,7 @@ import { getLogger } from './LoggerService'
|
|||
import { getAudioCaptureService, calculateRMS } from './AudioCaptureService'
|
||||
import { getSoundEffectService } from './SoundEffectService'
|
||||
import { getLocalSTTService } from './LocalSTTService'
|
||||
import { getSTTManager } from './stt/STTManager'
|
||||
import { getHistoryService } from './HistoryService'
|
||||
import { configGet } from './ConfigService'
|
||||
import {
|
||||
|
|
@ -122,8 +123,7 @@ class CaptionService extends EventEmitter {
|
|||
try {
|
||||
// STT 초기화 (모델 로딩 — 시간 소요)
|
||||
const sttService = getLocalSTTService()
|
||||
const modelId = configGet('sttModelId') as string | undefined
|
||||
await sttService.initialize(modelId)
|
||||
await sttService.initialize()
|
||||
|
||||
// 세션 초기화
|
||||
this._sessionId = crypto.randomUUID()
|
||||
|
|
@ -192,6 +192,17 @@ class CaptionService extends EventEmitter {
|
|||
getSoundEffectService().play('recording-start')
|
||||
logger.info(`Live Caption 시작: sessionId=${this._sessionId}`)
|
||||
} catch (err) {
|
||||
if (this._chunkTimer) {
|
||||
clearInterval(this._chunkTimer)
|
||||
this._chunkTimer = null
|
||||
}
|
||||
if (this._audioDataHandler) {
|
||||
const audioCaptureService = getAudioCaptureService()
|
||||
audioCaptureService.off('audio-data', this._audioDataHandler)
|
||||
this._audioDataHandler = null
|
||||
await audioCaptureService.stop().catch(() => {})
|
||||
}
|
||||
hideCaptionOverlay()
|
||||
this._setState('inactive')
|
||||
const d3roErr =
|
||||
err instanceof D3ROError
|
||||
|
|
@ -335,7 +346,7 @@ class CaptionService extends EventEmitter {
|
|||
return
|
||||
}
|
||||
|
||||
const sttService = getLocalSTTService()
|
||||
const sttService = getSTTManager()
|
||||
const language = configGet('sttLanguage') as string | undefined
|
||||
|
||||
const result = await sttService.transcribe(merged, {
|
||||
|
|
@ -546,6 +557,11 @@ class CaptionService extends EventEmitter {
|
|||
|
||||
let instance: CaptionService | null = null
|
||||
|
||||
export function resetCaptionServiceForTests(): void {
|
||||
if (instance) instance.removeAllListeners()
|
||||
instance = null
|
||||
}
|
||||
|
||||
export function getCaptionService(): CaptionService {
|
||||
if (!instance) {
|
||||
instance = new CaptionService()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue