Audio streaming server and player via MQTT protocol (mirror from gitlab) https://gitlab.com/vitronic/Mqtt-Audio-Streaming
Go to file
2021-02-22 15:29:59 -04:00
doc Updated 2021-02-22 12:26:05 -04:00
players Algunas correcciones esteticas 2021-02-22 12:45:44 -04:00
songs Añadido audios para probar la calidad 2021-02-22 12:25:20 -04:00
audio_list.lua Añadido audios para probar la calidad 2021-02-22 12:25:20 -04:00
LICENSE Añadida LICENSE 2021-02-21 08:18:29 +00:00
README.md Updated 2021-02-22 12:26:05 -04:00
streaming-mic.lua Improvisado nuevo streaming para enviar audio desde el microfono (live streaming) 2021-02-22 15:28:30 -04:00
streaming.lua Cambios menores 2021-02-22 12:31:32 -04:00
streaming2.lua Correccion menor 2021-02-22 15:29:59 -04:00
utils.lua Añadido utilitarios comunes 2021-02-22 12:44:14 -04:00

Mqtt Audio Streaming

Audio streaming server and player via MQTT protocol.

This project is inspired in multi-speakers-audio-streaming

Author: Díaz Devera Víctor Diex Gamar (Máster Vitronic)

Lua logo

Dependencies

Installation

Clone this repository.

git clone https://gitlab.com/vitronic/Mqtt-Audio-Streaming.git

Usage

Edit the broker variable to use your preferred MQTT server.

To run the streaming server run the following in the terminal.

cd Mqtt-Audio-Streaming/
lua streaming.lua

In a separate terminal or on another machine, run the following.

cd Mqtt-Audio-Streaming/
lua player.lua

This is basically a wrapper that does the same thing that.

mosquitto_sub -h ispcore.com.ve  -t song/stream | aplay -t raw

To add more songs to the playlist you must convert them to a suitable format.

sox input.ogg -t u8 -c 1 -b 8 -r 8k output.u8

Then edit audio_list.lua and add your new songs to the table

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT