summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxegineering <me@xegineering.eu>2024-10-03 18:49:04 +0200
committerxegineering <me@xegineering.eu>2024-10-03 20:00:04 +0200
commitd246a58cb4473c7a311d99232a18057544219a9b (patch)
tree14e1104f57da5d616b0a7fd79ab4e38aba837bb6
parent56f3e2c3f47e796333d4de2502385a5ef27d049f (diff)
downloadsoundbox-go-d246a58cb4473c7a311d99232a18057544219a9b.tar
soundbox-go-d246a58cb4473c7a311d99232a18057544219a9b.tar.zst
soundbox-go-d246a58cb4473c7a311d99232a18057544219a9b.zip
Make soundbox.StreamingPort private
It is planned to provide a function for streaming. Thus the streaming port is not required to be exposed. If there is a use case the streaming port can be exposed again.
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index d292908..3b681eb 100644
--- a/client.go
+++ b/client.go
@@ -5,9 +5,9 @@ import (
"net"
)
-// StreamingPort is the default network port a soundbox is listening to for
+// streamingPort is the default network port a soundbox is listening to for
// incoming audio stream data.
-const StreamingPort = 5316
+const streamingPort = 5316
type Client struct {
HardwareAddr net.HardwareAddr