Versions in this module Expand all Collapse all v0 v0.2.0 Apr 20, 2026 Changes in this version + func BuildInternalConfig(cfg IOConfig) internalSess.Config + func DecodeData(dec *zstd.Decoder, scratch, in []byte) (payload, newScratch []byte, err error) + func EmitProgressSamples(ctx context.Context, role Role, ns *stats.Stats) + func EmitSDP(out io.Writer, role Role, encoded string) + func MaybeShowQR(encoded string, disableQR bool) + func NewDataDecoder() (*zstd.Decoder, error) + func NewDataEncoder(level int) (*zstd.Encoder, error) + func ReadRemoteSDP(in io.Reader) (string, error) + func ResolveIO(cfg IOConfig) (in io.Reader, out io.Writer) + func RunFrames(ctx context.Context, ch *session.Channel, fh protocol.FrameHandler, ...) + func StartProgressEmitter(ctx context.Context, role Role, ns *stats.Stats) (stop func()) + type IOConfig struct + DisableMDNS bool + DisableQR bool + ICELite bool + LoopbackOnly bool + SDPOutput io.Writer + SDPProvider io.Reader + STUNServers []string + type Role uint8 + const RoleReceiver + const RoleSender + func (r Role) String() string + type SessionBase struct + func NewSessionBase(ns *stats.Stats, cfg IOConfig) SessionBase + func (b *SessionBase) NetworkStats() *stats.Stats + func (b *SessionBase) SDPInput() io.Reader + func (b *SessionBase) SDPOutput() io.Writer