piasy / audiomixer Goto Github PK
View Code? Open in Web Editor NEWA cross-platform audio mixer, supports Android, iOS, macOS and Windows. Powered by WebRTC, FFmpeg and Djinni.
License: MIT License
A cross-platform audio mixer, supports Android, iOS, macOS and Windows. Powered by WebRTC, FFmpeg and Djinni.
License: MIT License
Hello Team,
I am getting issue in case of two recording sources: The voice is not clear
mixer= new AudioMixer(new MixerConfig(
new ArrayList<>(Arrays.asList(
new MixerSource(MixerSource.TYPE_RECORD, 1, 1, outputFile, sampleRate,
channelCount),
new MixerSource(MixerSource.TYPE_RECORD, 2, 1, outputFile, sampleRate,
channelCount)
)),
sampleRate, channelCount, 10
));
And writing buffer like
try {
byte[] data = audioSamples.getData();
mixer.addRecordedData(ssrc, data, data.length);
AudioBuffer buffer = mixer.mix();
if (buffer.getSize() > 0) {
mixerDump.write(buffer.getBuffer(), 0, buffer.getSize());
}
} catch (Exception e) {
e.printStackTrace();
}
There has been some updates like adding multiple source which has not yet been released. Please when will this be released?
Missing files in Android project, MixerSource.java, AudioMixerApi.java, MixerConfig.java. Can you complete it? Also is it possible to provide a sample program. Now I want to use this library, but now it's hard to just watch readme
As you known, Bintray was shut down. I can resolve implementation 'com.github.piasy:AudioMixer:1.0.2' with Maven URL "http://dl.bintray.com/piasy/maven".
Could you integrate AudioMixer into another repository?
Thank you so much
Hi, @Piasy , @eritpchy , I'd like to report a vulnerability issue in com.github.piasy:AudioMixer:1.0.3.
com.github.piasy:AudioMixer:1.0.3 directly or transitively depends on 8 C libraries (.so) cross many platforms(such as x86-64, x86, arm64, armhf). However, I noticed that one C libraries is vulnerable, containing the following CVEs:
libaudio_mixer.so
from C project ffmpeg(version:3.4.2) exposed 8 vulnerabilities:
CVE-2018-1999012, CVE-2018-1999010, CVE-2018-1999015, CVE-2018-1999014, CVE-2018-14394, CVE-2018-1999011, CVE-2018-1999013, CVE-2018-15822
FFmpeg has fixed the vulnerabilities in versions >=4.4.1
Java build tools cannot report vulnerable C libraries, which may induce potential security issues to many downstream Java projects.
Could you please upgrade the above shared libraries to their patch versions?
Thanks for your help~
Best regards,
Helen Parr
Hello, How to turn MP3 after mixing
ld: warning: directory not found for option '-L/Users/huawei/Downloads/AudioMixer-master/ios_project/../libs/webrtc/lib/iOS'
ld: warning: directory not found for option '-L/Users/huawei/Downloads/AudioMixer-master/ios_project/../libs/ffmpeg/lib/iOS'
ld: library not found for -lwebrtc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
你好我编译iOS的编译通不过 请问这个缺的lwbrtc 是需要我自己编译吗?那么请问是从哪里获取编译
(PYAAudioBuffer*)mix {
audio_mixer::AudioMixer* nativeMixer =
(audio_mixer::AudioMixer*)[_nativeMixer nativeMixer];
if (nativeMixer) {
_buffer.size = nativeMixer->Mix(_buffer.data);
}
return _buffer;
}
(PYAAudioBuffer*)addRecordedDataAndMix:(void*)data size:(int32_t)size {
audio_mixer::AudioMixer* nativeMixer =
(audio_mixer::AudioMixer*)[_nativeMixer nativeMixer];
if (nativeMixer) {
_buffer.size =
nativeMixer->AddRecordedDataAndMix(data, size, _buffer.data);
}
return _buffer;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.