-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
ReplayKit and multicam .audioMic issue #1444
Comments
|
Yes, from the Control Center
Indeed, it's unfortunate! I believe audio mixer still should handle it if the proper channel mapping is provided, but somehow it doesn't. Will take a look too, just wanted to report the issue. |
Currently, channels passing through this line fail to convert and are treated as muted audio. Modify it as follows: rtmpStream.audioMixerSettings = .init(sampleRate: 0, channels: 2)
rtmpStream.audioMixerSettings.tracks[0]?.downmix = true In an environment with iOS 17.5 + iPhone 15 Pro Max, you can hear the mixed audio. |
While trying Edit: |
I changed it to MPEG_3_0_B because when I look at it later, I might mistakenly think "Why is it AAC when it's PCM audio?"
It was ReplayKit audio, CLR was appropriate. However, on some devices, it might come as LRC. Thank you for the feedback. |
It's also worth updating output channels count in the screencast example, otherwise |
Describe the bug
There's some interference between
stream.isMultiCamSessionEnabled = true
and ReplayKit. Somehow enabling multi cam session changes audio format of.audioMic
audio in SampleHandler. Without multicam:With multicam:
Cannot hear audio on the stream. I tried to use channel map for the main track but it doesn't work. Audio buffer has data.
To Reproduce
Expected behavior
To head audio on the stream
Version
main branch, 52a34fd
Smartphone info.
iPhone 15 Pro Max, iOS 15.5
Additional context
No response
Screenshots
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: