Go-based FM stereo transmitter with RDS, Windows-first and cross-platform
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

16 řádky
331B

  1. //go:build !gosrt
  2. package aoiprxkit
  3. import (
  4. "context"
  5. "fmt"
  6. "io"
  7. )
  8. func defaultSRTConnOpener(ctx context.Context, cfg SRTConfig) (io.ReadCloser, error) {
  9. _ = ctx
  10. _ = cfg
  11. return nil, fmt.Errorf("native SRT transport is not linked in this build: provide a custom opener or add a gosrt-backed opener in your target repo")
  12. }