Example sending and detecting audio commands with GStreamer and Rust. We use typed structures for a nicer API.
.gitea | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
Audio Commands using DTMF
This is a simple example of how to use DTMF elements of GStreamer with ergonomic Rust code.
Installation
You will need to install the following dependencies from homebrew:
brew install gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav
Edit the gst-plugins-bad formula to add the following line:
depends_on "spandsp"
Set the following environment variables:
export HOMEBREW_NO_INSTALL_FROM_API=1
Then reinstall the formula from source:
brew reinstall --build-from-source gst-plugins-bad