Open Olive35 opened 6 years ago
Hi there! Unfortunately buffering is not configurable, no. This library was written somewhat hastily, and so it never had many options added. Unfortunately I can no longer maintain it because I don't own a macOS computer any longer. If someone wanted to develop it, it could be added I'm sure.
As for streaming other types of audio: this was very specifically written to stream macOS audio to chromecast, and it does so after transcoding to mp3 (it's built on top of this webcast library which exposes the audio on an mp3-over-http stream. It would be possible to fork this library, and stream another type of audio, but there is nothing ready made that I'm aware of. Good luck in your search!
I'm going to leave this open as a feature request, in case anyone out there wants to try to add these features.
How can I compensate for the 5-15 second delay?
@basuarya I haven't worked on or used this library in many years, so I can't say that I remember too many specifics and I don't know the state of current chromecast hardware. at the time though, it wasn't possible to reduce the delay because the chromecast itself kept a buffer when connecting to the audio stream; that's to say: the delay was at the chromecast, not at the local machine. I couldn't say if anything's changed with regards to that, and I no longer have any macOS machines to test with.
Hi Nathan, thx for this package. Please to be tolerant with my low level in English! Your package works properly, however, is it possible to get stream with an other library (lame.mp3 currently), i.e. flac, wav? Also, is it possible to increase buffering? Have a good day!