Go-based FM stereo transmitter with RDS, Windows-first and cross-platform
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

16 строки
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. }