When `-D BUILD_SHARED_LIBS=ON` is passed to `cmake`, it builds a single shared library. Specifically, - For C APIs, it builds `libsherpa-onnx-c-api.so` - For Python APIs, it builds `_sherpa_onnx.cpython-xx-xx.so` - For Kotlin and Java APIs, it builds `libsherpa-onnx-jni.so` There is no `libsherpa-onnx-core.so` any longer. Note it affects only shared libraries.
Introduction
You can use sherpa-onnx-ffmpeg to decode a wav, mp3, or even a URL.
See https://github.com/ossrs/srs for more supported formats and protocols, e.g., RTMP/WebRTC/HLS/HTTP-FLV/SRT/MPEG-DASH/GB28181.
How to use
Please have a look at
./run.sh