Replies: 4 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Posting here some formats. Focusrite Clarett2Pro USB (works fine) external microphone, unknown device audiobox usb 96 All of them have same sample rate. One way I could get 16KHz format is to use bluetooth headphones: |
Beta Was this translation helpful? Give feedback.
-
I have implemented the sample rate conversion. While it still requires thorough debugging before the official release, I have tested it with the major scenarios. Therefore, I will merge it into the 'main' branch. #1294 |
Beta Was this translation helpful? Give feedback.
-
I have added support for the downmix feature in this PR. It might be more user-friendly, especially when dealing with multiple channels. #1298. However, it seems that this method (AVAudioChannelLayout(layoutTag: kAudioChannelLayoutTag_DiscreteInOrder | numberOfChannels)) fails to downmix. Currently, it supports 2, 4, 5, 6, and 8 channels. HaishinKit.swift/Sources/Util/AVAudioFormatFactory.swift Lines 33 to 49 in a6725f4 |
Beta Was this translation helpful? Give feedback.
-
I want to share some ideas and discuss possible changes of the audio implementation:
onMetaData
packet.RTMPMuxer
attempts to handle the audio converter change by sendingAudioSpecificConfig
but it has hardcoded to 44k and is ignored according to flv spec.Beta Was this translation helpful? Give feedback.
All reactions