summaryrefslogtreecommitdiff
path: root/soundbox/url.go
AgeCommit message (Collapse)Author
2024-11-29Handle internal error correctlyxegineering
2024-11-28Replace custom code by io package functionsxegineering
This makes use of two functions from this package: - io.Copy() - io.MultiWriter() `io.Copy()` is used to move the data from whatever reader is provided. `io.Multiwriter()` solves the issue that we need to stream to multiple network connections at the same time (one for each soundbox).
2024-11-27Introduce io.Reader-based streamContext()xegineering
This prepares the switch to adding more sources than web URLs. Everything providing an io.Reader can then simply use this internal function in the background to avoid code duplication.
2024-11-17Fix streaming only via first interface candidatexegineering