Skip to content

go/moq: wrapper catch-up (stats, hops, TLS options, media-on-track) #2153

Description

@kixelated

The hand-written Go wrapper (go/wrapper/moq) lags the generated moq-ffi surface more than the other wrappers. Missing today:

  • Session.Stats() (connection stats snapshot; py/swift/kt have it)
  • Announcement.Hops()
  • Client TLS options: roots, system roots, certificate fingerprints (only WithTLSDisableVerify/WithBind exist in go/wrapper/moq/client.go)
  • PublishMediaOnTrack and MoqVideoHint support
  • Datagrams / subscription update / track info once those land in moq-ffi (see their issues)

Also, from the #2142 review: FetchGroup should take a ctx like RecvGroup/RequestedGroup (via runCancellable) so a fetch that misses the cache can be cancelled; that may need a cancel handle on the ffi fetch object.

All additive. Update doc/lib/go alongside per the Cross-Package Sync table.

(Written by Claude Fable 5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions