|
- //go:build !gosrt
-
- package aoiprxkit
-
- import (
- "context"
- "fmt"
- "io"
- )
-
- func defaultSRTConnOpener(ctx context.Context, cfg SRTConfig) (io.ReadCloser, error) {
- _ = ctx
- _ = cfg
- 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")
- }
|