node_airtunes
node_airtunes copied to clipboard
Music stream (radio) to HomePod stops after 1-2mins
Hi,
thanks for this great project. I use the following command:
node play_ffmpeg.js --host 192.168.178.20 --port 5000 --file http://rb-bremenvier-live.cast.addradio.de/rb/bremenvier/live/mp3/128/stream.mp3
Then I receive this logs: adding device: 192.168.178.20:5000 status: ready buffer buffering buffer playing
After a couples of mins I get: status: stopped
Why is this happening? I am bit confused.
I got it fixed!
The problem is that HomePod requires regurarly sent heartbeat message with RTSP protocol. It is sufficient just to send SET_PARAMETER with actual volume value every 60 seconds.