Skip to content
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

[New Feature] Add audio compression #33

Open
working-name opened this issue Jan 13, 2024 · 2 comments
Open

[New Feature] Add audio compression #33

working-name opened this issue Jan 13, 2024 · 2 comments
Labels
accepted The new feature request is accepted new feature This is a new feature

Comments

@working-name
Copy link

Describe the new feature you'd like
I'm trying to use this awesome software to monitor a remote audio feed in as close to realtime as possible. It's doing good but would like to know if there's a compression available that doesn't introduce crazy delay or kill the CPU but still reduce some of the fat WAV bits going down the pipe.

Describe the reason why you want to add the feature
I need this feature because I stream audio across the internet to monitor inputs and such. That's not in the same local network, across different ISPs.

Describe how to implement the feature if you can
ffmpeg seems to encode and decode mp3 and m4a at 30x or so, maybe that's enough performance to not introduce a huge delay. I also don't mean you should go the mp3/m4a route, it's just an example.

@working-name working-name added the new feature This is a new feature label Jan 13, 2024
@mkckr0
Copy link
Owner

mkckr0 commented Jan 14, 2024

Actually, in v0.0.1, Audio Share use TCP to transfer the audio data. Because it has a high latency, so I change it to UDP. In the feature, I'll add it back to provide a alternative way to tranfer the audio data. TCP is stable to tranfer data arcoss the Internet. The compression of audio data can decrease the bandwidth and the lantency.

@mkckr0 mkckr0 added the accepted The new feature request is accepted label Feb 29, 2024
@visagemsc
Copy link

Even for UDP audio compression is greatly needed as it can pass through the internet no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The new feature request is accepted new feature This is a new feature
Projects
None yet
Development

No branches or pull requests

3 participants