App crash when livestream with both RPSampleBufferType.audioApp and RPSampleBufferType.audioMic. #1193
Unanswered
hominhtuong
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to play a youtube video with both the audio of the video and the mic I have in it.
But if you call the function:
rtmpStreamappendSampleBuffer(sampleBuffer, withType: .audio)
with both audioApp and audioMic, the app crashes immediately and gives a memory error.
If only 1 sound is used, it works fine.
Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions