diff options
Diffstat (limited to 'stream.go')
-rw-r--r-- | stream.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ import ( // incoming audio stream data. const streamingPort = 5316 +// StreamURLContext streams audio from a given URL to one or multiple soundbox +// devices. The devices are referenced via their MAC addresses given by the +// targets argument. The ctx argument is passed to cancel the streaming. func StreamURLContext(ctx context.Context, url string, targets []net.HardwareAddr) error { iface, err := getInterface() if err != nil { |