- Create universal streaming module in utils/streaming/ - Implement StreamingCoordinator to replace all format-specific routers - Create universal StreamingSegment data structure (no more format conversions) - Implement UniversalWorkQueueProcessor for engine-agnostic parallel processing - Add ChatterBox streaming adapter preserving all existing functionality - Add F5-TTS streaming adapter with language model switching support - Document complete streaming integration plan in F5TTS_STREAMING_INTEGRATION_PLAN.md This creates the foundation for eliminating the current spaghetti code where each node type needs its own router and format conversions. The universal system works with any engine through adapters while preserving all existing functionality.
20 lines
650 B
Python
20 lines
650 B
Python
"""
|
|
Universal Streaming System for TTS Audio Suite
|
|
|
|
Provides engine-agnostic streaming architecture that eliminates the need for
|
|
format-specific routers and bridges between different node types.
|
|
"""
|
|
|
|
from .streaming_types import StreamingSegment, StreamingResult, StreamingConfig
|
|
from .streaming_interface import StreamingEngineAdapter
|
|
from .streaming_coordinator import StreamingCoordinator
|
|
from .work_queue_processor import UniversalWorkQueueProcessor
|
|
|
|
__all__ = [
|
|
'StreamingSegment',
|
|
'StreamingResult',
|
|
'StreamingConfig',
|
|
'StreamingEngineAdapter',
|
|
'StreamingCoordinator',
|
|
'UniversalWorkQueueProcessor'
|
|
] |