-
-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appending audio sample buffer crashes when unwrapping _converter variable #889
Comments
It caused to crash with an unsupported input format for CMSampleBuffer. Please provide more info |
Hello.
and also change To reproduce bug, just try |
HaishinKit can support 1 or 2 channels input audio. |
Describe the bug
A clear and concise description of what the bug is.
When i am appending audio sample buffers from a RPScreenRecorder, the app is crashing with HaishinKit/AudioCodec.swift:164: Fatal error: Unexpectedly found nil while unwrapping an Optional value. It seems to be when the _converter variable from the AudioCodec class. If i attach the app audio it doesnt seem to crash but there is also no audio being passed to the stream, it only happens with mic audio.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Not to crash and append the audio to the stream.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: