Skip to content

v1.1.0

Choose a tag to compare

@steelbrain steelbrain released this 27 Jul 14:24
· 4 commits to main since this release

Added

  • @steelbrain/media-ingest-audio: Add channelId option to select specific audio channel from multi-channel streams

    • Enables processing of individual channels from stereo/multi-channel audio sources
    • Useful for stereo interview recordings, multi-channel audio interfaces, and professional audio setups
    • Defaults to channel 0 (first channel) for backward compatibility
  • @steelbrain/media-ingest-audio: Add sampleRate option to configure AudioContext sample rate

    • Allows custom sample rates from 8kHz to 96kHz+ for different use cases
    • Supports telephony (8kHz), voice (16kHz default), music (44.1kHz), and professional audio (48kHz+)
    • Automatically handles sample rate conversion from input to target rate
    • Useful for optimizing quality vs. bandwidth based on application needs

Fixed

  • @steelbrain/media-ingest-audio: Fix audio worker continuing to send messages after stream closure
    • Added try/catch around controller.enqueue to handle closed stream errors
    • Properly cleanup resources when stream is cancelled while audio worker is still processing