mirror of
https://github.com/kerberos-io/agent.git
synced 2026-11-23 23:10:50 +00:00
github.com/moq-dev/moq-go was renamed to moq.dev/moq. Its native library
(moq.dev/moq-ffi v0.4.27) ships without LLVM bitcode, so `go build -tags moq`
works on Go 1.26.11+, which rejects the bitcode in moq-go-ffi v0.3.x.
- github.com/moq-dev/moq-go v0.5.7 -> moq.dev/moq v0.7.27
(moq-go-ffi v0.3.7 -> moq.dev/moq-ffi v0.4.27)
- BroadcastProducer.PublishMedia("avc3", nil) ->
PublishVideo(moq.VideoFormatAvc3, nil); the rest of the API the agent
uses is unchanged
- unpin Go: the build image goes back to golang:1.26-trixie and the
devcontainer drops GOTOOLCHAIN=go1.26.10
Compatibility:
- the derived track name is still "0.avc3"
- the relay accepts the new client (wire protocol moq-lite-05 -> moq-lite-07)
- the catalog keeps the same rendition, codec and container; the
per-rendition "timeline" moves to a top-level "archive" and a "clock"
object is added. The Hub viewer's schema (@moq/hang 0.2.16, used by
@moq/watch 0.2.17) accepts it, and timeline is optional and unused for
live playback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
592 B
Docker
26 lines
592 B
Docker
FROM mcr.microsoft.com/devcontainers/go:1.26-trixie
|
|
|
|
# Install node environment
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
nodejs \
|
|
npm \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install ffmpeg
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
ffmpeg \
|
|
libavcodec-extra \
|
|
libavutil-dev \
|
|
libavformat-dev \
|
|
libavfilter-dev \
|
|
libavdevice-dev \
|
|
libswscale-dev \
|
|
libswresample-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
USER vscode
|
|
|
|
# Install go swagger
|
|
RUN go install github.com/swaggo/swag/cmd/swag@latest |