🎉 live server seems to be working now
This commit is contained in:
30
third_party/sendspin-go/pkg/sendspin/doc.go
vendored
Normal file
30
third_party/sendspin-go/pkg/sendspin/doc.go
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
// ABOUTME: High-level Sendspin library API
|
||||
// ABOUTME: Provides simple Player and Server APIs for most use cases
|
||||
// Package sendspin provides high-level APIs for Sendspin audio streaming.
|
||||
//
|
||||
// This is the main entry point for most library users, providing:
|
||||
// - Player: Connect to servers and play synchronized audio
|
||||
// - Server: Serve audio to multiple clients
|
||||
// - AudioSource: Interface for custom audio sources
|
||||
//
|
||||
// For lower-level control, see the audio, protocol, sync, and discovery packages.
|
||||
//
|
||||
// Example Player:
|
||||
//
|
||||
// player, err := sendspin.NewPlayer(sendspin.PlayerConfig{
|
||||
// ServerAddr: "localhost:8927",
|
||||
// PlayerName: "Living Room",
|
||||
// Volume: 80,
|
||||
// })
|
||||
// err = player.Connect()
|
||||
// err = player.Play()
|
||||
//
|
||||
// Example Server:
|
||||
//
|
||||
// source, err := sendspin.FileSource("/path/to/audio.flac")
|
||||
// server, err := sendspin.NewServer(sendspin.ServerConfig{
|
||||
// Port: 8927,
|
||||
// Source: source,
|
||||
// })
|
||||
// err = server.Start()
|
||||
package sendspin
|
||||
Reference in New Issue
Block a user