Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
576285a
quest: open the audio-codecs line
kixelated Sep 25, 2026
560f185
Merge remote-tracking branch 'origin/main' into line-readme-sync
kixelated Sep 25, 2026
c31063b
fix(mux): parse the AAC program config element instead of guessing st…
kixelated Sep 25, 2026
a963040
chore(quest): abandon he-aac-refusal (#4090)
kixelated Sep 25, 2026
c0c7856
feat(audio): carry surround layouts through decode, remix, and playba…
kixelated Sep 25, 2026
c1cdb92
feat(audio): a decode backend seam that prefers the platform codec (#…
kixelated Sep 25, 2026
9ec1f82
Merge origin/main into quest/m1/audio-codecs/README
kixelated Sep 25, 2026
057bdec
fix(mux): TS export carries an AAC track's program config element (#4…
kixelated Sep 25, 2026
c6ec067
feat(audio): an encode backend seam and an AAC output codec (#4183)
kixelated Sep 25, 2026
0e8a5e8
quest(audio-codecs): ADTS export refuses what it cannot label (#4202)
kixelated Sep 26, 2026
7824c89
feat(audio): decode surround Opus through the multistream decoder (#4…
kixelated Sep 26, 2026
42582a8
fix(mux): ADTS export refuses what it cannot label (#4283)
kixelated Sep 27, 2026
437159c
feat(ts): import surround Opus with a family 1 OpusHead (#4282)
kixelated Sep 27, 2026
d0b516e
Merge origin/main into quest/m1/audio-codecs/README
kixelated Sep 29, 2026
80072f7
chore(quest): start named-codecs
kixelated Sep 29, 2026
1af5bd0
fix(audio): Kind::Named keeps its codec names
kixelated Sep 29, 2026
a76fd04
test(audio): install the AAC encoder stub per test
kixelated Sep 29, 2026
40892f1
Merge pull request #4444 from moq-dev/quest/m1/audio-codecs/named-codecs
kixelated Sep 29, 2026
c6675bd
quest(audio-codecs): make the remaining children standalone
kixelated Sep 30, 2026
3d85d4b
Merge origin/main into quest/m1/audio-codecs/README
kixelated Sep 30, 2026
de599ea
quest(audio-codecs): finish the line
kixelated Sep 30, 2026
9440433
fix(audio): keep Decoder and Encoder unwind safe
kixelated Sep 30, 2026
e84ada7
Merge remote-tracking branch 'origin/main' into claude/charming-ardin…
kixelated Sep 30, 2026
7ba1f06
fix(audio): keep the AAC sine test behind the aac feature
kixelated Sep 30, 2026
d0fbb36
fix(audio): refuse PCM layouts its channel count cannot name
kixelated Sep 30, 2026
8ec0c92
quest: follow-ups from the audio-codecs line review
kixelated Sep 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions doc/bin/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ discarding the old mux buffer. The first new clock packet signals the break and
stdout pacing re-anchors. Every rendition joins the new program generation;
no track is fenced across the marker.

MPEG-TS export frames AAC as ADTS, which labels only the AAC Main, LC, SSR,
and LTP profiles. HE-AAC and HE-AACv2 go out as their AAC-LC core, and decoders
find the SBR and PS in band, as ffmpeg's ADTS output does. A track whose
profile or channel layout ADTS cannot label is refused rather than mislabeled.

A constant-rate MPEG-TS source records its multiplex rate in the catalog
(`mpegts.muxRate`, measured off the PCR clock, null stuffing included), and
`export ts` pads its output with null packets back to that rate so an IRD or
Expand All @@ -118,9 +123,11 @@ moq --connect https://relay.example.com/anon --broadcast my-stream.hang play
moq ... play --delay 500ms # trade latency for a jittery link
```

Decodes H.264, H.265, and AV1 video and Opus, PCM, and AAC-LC audio using
the platform hardware decoder where available. `--video-name` and
`--audio-name` pick a rendition.
Decodes H.264, H.265, and AV1 video using the platform hardware decoder where
available, and Opus, PCM, and AAC-LC (mono or stereo) audio in software. The
log names the decoder each track opened. `--video-name` and `--audio-name`
pick a rendition. HE-AAC signaled only in band (implicit SBR, as over MPEG-TS)
plays as its half-rate AAC-LC core.

Playback runs on a clock it owns. `--delay` (default 100 ms) is how far it
trails the live edge, which is both the jitter a late frame may absorb and the
Expand Down
3 changes: 2 additions & 1 deletion doc/lib/c/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ pkg-config file included.
- **Threading.** Any function from any thread. Raw publish calls block until the codec takes the frame, which paces a publisher.
- **Connection health.** `moq_session_stats()` reports available metrics with per-field validity flags. `moq_session_snapshot()` samples those metrics and the negotiated draft name together from the same connection. Its protocol string is backed by static storage. Both return an offline error between reconnects and leave the destination untouched. `moq_session_bandwidth()` mints an allocator over the send estimate; `moq_bandwidth_reserve` claims a share for an app-owned track, and `moq_encode_video` / `moq_encode_audio` take the same handle so the built-in video encoder follows the grant.
- **Raw playback.** Raw audio and video consumers start at the newest cached group when opened, so rebuilding a live decoder skips the retained backlog.
- **Raw audio encode.** `moq_audio_encoder_output.codec` names the codec (only `"opus"` today), and `frame_duration_us` sets the Opus frame length: 2500, 5000, 10000, 20000, 40000, or 60000, with 0 meaning the 20 ms default.
- **Raw audio encode.** `moq_audio_encoder_output.codec` names the codec: `"opus"`, `"pcm"`, or `"aac"`. `frame_duration_us` sets the Opus frame length: 2500, 5000, 10000, 20000, 40000, or 60000, with 0 meaning the codec's default (20 ms for Opus, 1024 samples for AAC). AAC-LC encodes through the platform's encoder, so a host without one refuses it.
- **Audio channel layouts.** A `channels` count also names the speaker layout, by the WAVE convention: 1 is mono, 2 stereo, 3 2.1, 4 quad, 5 5.0, 6 5.1, 7 6.1, and 8 7.1, interleaved front left, front right, center, LFE, back, then side. `moq_decode_audio` remixes to the count you ask for; past 8 channels the samples pass through but can't be remixed.
- **Raw decode output.** `moq_video_decoder_output` selects the decoded CPU pixel format (`MOQ_VIDEO_PIXEL_FORMAT_I420` or `_RGBA`) and target size (`width`/`height`, both zero for native; otherwise even and non-zero). Unknown formats and invalid sizes fail `moq_decode_video` before subscribing; accepted requests deliver exactly that layout or fail on the terminal callback.
- **Encoded video metadata.** `moq_video_init.hint` is a zero-initialized `moq_video_hint` with `has_*` flags for coded dimensions, bitrate (bits per second), frame rate, and latency preference. Hints seed a video codec track's catalog; detected dimensions take precedence.
- **Client config.** A zeroed `moq_client_config` means the defaults for every knob, which is what lets a new one be appended without disturbing callers. Fields cover protocol (`versions`), TLS (`tls_fingerprints`, `tls_roots`, `tls_cert`/`_key`, `tls_host_name`), transport (`bind`, `connect_timeout_us`, `failover_delay_us`/`resolution_delay_us` for Happy Eyeballs, `websocket_enabled`/`_delay_us`), and tuning (reconnect backoff, `quic_*`). Every duration is in microseconds. A knob whose default isn't zero carries a `has_*` flag, so setting `backoff_timeout_us = 0` needs `has_backoff_timeout = true` to mean "retry forever" rather than "use the default". `moq_client_defaults()` reports what a NULL config dials with.
Expand Down
12 changes: 12 additions & 0 deletions doc/lib/go/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,18 @@ one: `FetchGroup`/`FetchMediaGroup`, `Dynamic()` with `Requests(ctx)`,
`AppendDatagram`/`Datagrams(ctx)`, `SetCatalogSection`, `Demand()` for `Used`/`Unused`,
`Session().Stats()`. `moq.IsAuthError` and `moq.IsShutdown` classify errors. `moq.ProtocolError(err)` is the structured protocol failure (scope, verbatim code, kind) when the peer sent one. `err.Error()` is the Rust error message.

`EncodeAudio` encodes raw PCM inside the binding. Its codec is `OpusAudioCodec()`
or `AacAudioCodec()`, and `AudioEncoderOutput.FrameDurationUs` sets the Opus
frame length: 2500, 5000, 10000, 20000 (the default), 40000, or 60000. 0 takes
the codec's own frame, which AAC needs. AAC-LC encodes through the platform's
encoder, so a host without one refuses it.

Audio `Channels` also names the speaker layout, by the WAVE convention: 1 is
mono, 2 stereo, 3 2.1, 4 quad, 5 5.0, 6 5.1, 7 6.1, and 8 7.1, interleaved
front left, front right, center, LFE, back, then side. Decoding remixes to the
count you ask for; past 8 channels the samples pass through but can't be
remixed.

`DecodeVideo` picks the decoded CPU pixel layout: `VideoDecoderOutput.Format`
is I420 when nil, or `VideoPixelFormatRgba` for four bytes a pixel, and every
`VideoDecodedFrame` repeats the layout it was decoded to. `Resize` is best
Expand Down
13 changes: 11 additions & 2 deletions doc/lib/kt/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,17 @@ connection's send estimate; pass it to `encodeVideo` / `encodeAudio` or
Cancelling the collecting coroutine cancels the native side.

`encodeAudio` encodes raw PCM inside the binding. Its codec is an object,
`AudioCodec.opus()`, and `AudioEncoderOutput.frameDurationUs` sets the Opus
frame length: 2500, 5000, 10000, 20000 (the default), 40000, or 60000.
`AudioCodec.opus()` or `AudioCodec.aac()`, and
`AudioEncoderOutput.frameDurationUs` sets the Opus frame length: 2500, 5000,
10000, 20000 (the default), 40000, or 60000. 0 takes the codec's own frame,
which AAC needs. AAC-LC encodes through the platform's encoder, so a host
without one refuses it.

Audio `channels` also names the speaker layout, by the WAVE convention: 1 is
mono, 2 stereo, 3 2.1, 4 quad, 5 5.0, 6 5.1, 7 6.1, and 8 7.1, interleaved
front left, front right, center, LFE, back, then side. Decoding remixes to the
count you ask for; past 8 channels the samples pass through but can't be
remixed.

`decodeVideo` picks the decoded CPU pixel layout: `VideoDecoderOutput.format`
is `VideoPixelFormat.I420` when null, or `VideoPixelFormat.RGBA` for four bytes
Expand Down
13 changes: 11 additions & 2 deletions doc/lib/py/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,17 @@ Each server request reports a `moq.Transport` enum, including QUIC, Iroh,
WebSocket, TCP, and Unix sockets.

`encode_audio` encodes raw PCM inside the binding. Its codec is an object,
`moq.AudioCodec.opus()`, and `AudioEncoderOutput.frame_duration_us` sets the
Opus frame length: 2500, 5000, 10000, 20000 (the default), 40000, or 60000.
`moq.AudioCodec.opus()` or `moq.AudioCodec.aac()`, and
`AudioEncoderOutput.frame_duration_us` sets the Opus frame length: 2500, 5000,
10000, 20000 (the default), 40000, or 60000. 0 takes the codec's own frame,
which AAC needs. AAC-LC encodes through the platform's encoder, so a host
without one refuses it.

Audio `channels` also names the speaker layout, by the WAVE convention: 1 is
mono, 2 stereo, 3 2.1, 4 quad, 5 5.0, 6 5.1, 7 6.1, and 8 7.1, interleaved
front left, front right, center, LFE, back, then side. Decoding remixes to the
count you ask for; past 8 channels the samples pass through but can't be
remixed.

`decode_video` picks the decoded CPU pixel layout: `VideoDecoderOutput.format`
is `VideoPixelFormat.I420` when unset, or `VideoPixelFormat.RGBA` for four
Expand Down
54 changes: 49 additions & 5 deletions doc/lib/rs/moq-audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,71 @@ the far end. Everything is Rust, so there is no C toolchain, CMake step, or
codec to install.

`Layout` names speaker meaning separately from a channel count. `Mono` is center,
`Stereo` is left then right, and `Discrete(n)` preserves unnamed channels without
inventing speaker positions. Encoding keeps source PCM in `encode::Input` and
`Stereo` is left then right, and the surround layouts up to `SevenPointOne`
interleave in the SMPTE/WAVE order (front left, front right, center, LFE, back,
side). A catalog carries only a count, which reads as that count's WAVE default
(`Layout::from_channels`: 6 is 5.1, 8 is 7.1). `Discrete(n)` preserves unnamed
channels without inventing speaker positions, so it passes through but never
remixes. Decoding and playback downmix with the ITU-R BS.775 coefficients and
upmix by leaving the extra speakers silent; the playback mix runs in whatever
layout the output device opened. Encoding keeps source PCM in `encode::Input` and
codec requirements in `encode::Settings`; `encode::Options` adds publication
policy. Decoding likewise separates low-level `decode::Config`, PCM
`decode::Output`, and subscription `decode::Options`.

| Module | Does |
| --- | --- |
| `capture` | Microphones via CoreAudio, WASAPI, ALSA (and PipeWire/PulseAudio hosts), plus macOS system audio |
| `encode` | PCM to Opus (with DTX and voice-activity signaling) or raw PCM for the lowest latency |
| `encode` | PCM to Opus (with DTX and voice-activity signaling), raw PCM for the lowest latency, or AAC-LC through a platform encoder |
| `decode` | Opus, PCM, and AAC-LC back to PCM, resampled to the rate you want |
| `playback` | One output device mixing every track in a call, with click-free volume ramps |
| `aec` | Acoustic echo cancellation (a port of WebRTC's), so a laptop with no headset doesn't feed itself back |

`decode` picks a backend per track the way `moq-video` does: a platform decoder
first, then software. `decode::Config::kind` narrows it: `Kind::Software` skips
the platform tier, and `Kind::Named` requires the track to be a codec, by its
name (`"opus"`, `"pcm"`, or `"aac"`), and refuses any other. Backends are never
named; `Decoder::name()` reports which one opened.

| Backend | Decodes | Hosts |
| --- | --- | --- |
| `libopus` | Opus, mono or stereo, and surround up to 7.1 (channel mapping family 1) | all |
| `pcm` | PCM | all |
| `symphonia` | AAC-LC, mono or stereo (the default-on `aac` feature) | all |

No platform decoder is wired in yet, so multichannel AAC and HE-AAC declared in
its config are refused at construction on every host. HE-AAC signaled only in
band plays as its half-rate LC core. Linux has no OS audio decoder, so it will
stay that way there. Surround Opus is pure Rust, so it is the one multichannel
path every host has. Opus mapping families other than 0 and 1 (ambisonics, and
255's unpositioned channels) are refused, since they declare no speakers.

Opus always decodes at 48 kHz, its own clock, whatever input rate the OpusHead
records (44.1 kHz and unknown included), and applies the head's pre-skip and
output gain. A track without a description decodes mono or stereo from the
catalog with neither. A description that is present but malformed (truncated,
wrong signature, a new major version, or a channel count its mapping family
forbids) is refused, as is any channel mapping family other than 0, rather
than falling back to the catalog's fields.
forbids) is refused rather than falling back to the catalog's fields.

`encode` selects the same way, through `encode::Settings::kind`, where
`Kind::Named` requires `Settings::codec` to match the codec name, and
`Encoder::name()` reports what opened.

| Backend | Encodes | Hosts |
| --- | --- | --- |
| `libopus` | Opus, mono or stereo | all |
| `pcm` | PCM | all |

`encode::Codec::Aac` is AAC-LC (`mp4a.40.2`) at the input's rate and layout:
mono, stereo, 3.0, 4.0, 5.0, 5.1, or 7.1, the layouts with an AAC
channelConfiguration. Frames are 1024 samples, so `Settings::from_input` sets
`frame_duration` to match. The catalog's AudioSpecificConfig is built from the
settings when the track is registered, and since it has no field for the
encoder's delay, packets are stamped that much earlier so the first input
sample still lands at the first timestamp. There is no software AAC encoder,
and no platform encoder is wired in yet, so `Codec::Aac` is refused at
construction on every host for now. Linux has no OS encoder, so it will stay
that way there.

Highlights:

Expand Down
2 changes: 1 addition & 1 deletion doc/lib/rs/moq-mux.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Turns existing container formats into hang broadcasts and back. This is what
| Format | Import | Export | Notes |
| --- | --- | --- | --- |
| fMP4 / CMAF | yes | yes | Passthrough as `cmaf` or repackaged as `legacy`. |
| MPEG-TS | yes | yes | H.264/H.265; AAC, MP2, AC-3, E-AC-3; SCTE-35 and subtitle PIDs carried as tracks; service tables round-trip; signalled timebase discontinuities preserved; paced export. |
| MPEG-TS | yes | yes | H.264/H.265; AAC, MP2, AC-3, E-AC-3, Opus up to 7.1; SCTE-35 and subtitle PIDs carried as tracks; service tables round-trip; signalled timebase discontinuities preserved; paced export. |
| FLV / RTMP | yes | yes | Legacy H.264 + AAC + MP3, plus enhanced-RTMP HEVC, AV1, VP9, Opus, AC-3, E-AC-3, and multitrack. |
| Matroska / WebM | yes | yes | |
| Annex-B (H.264, H.265) | yes | yes | Parameter sets extracted to the catalog or re-injected per keyframe. |
Expand Down
13 changes: 11 additions & 2 deletions doc/lib/swift/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,17 @@ divides the connection's send estimate; pass it to `encodeVideo` /
the Rust error message.

`encodeAudio` encodes raw PCM inside the binding. Its codec is an object,
`AudioCodec.opus()`, and `AudioEncoderOutput.frameDurationUs` sets the Opus
frame length: 2500, 5000, 10000, 20000 (the default), 40000, or 60000.
`AudioCodec.opus()` or `AudioCodec.aac()`, and
`AudioEncoderOutput.frameDurationUs` sets the Opus frame length: 2500, 5000,
10000, 20000 (the default), 40000, or 60000. 0 takes the codec's own frame,
which AAC needs. AAC-LC encodes through the platform's encoder, so a host
without one refuses it.

Audio `channels` also names the speaker layout, by the WAVE convention: 1 is
mono, 2 stereo, 3 2.1, 4 quad, 5 5.0, 6 5.1, 7 6.1, and 8 7.1, interleaved
front left, front right, center, LFE, back, then side. Decoding remixes to the
count you ask for; past 8 channels the samples pass through but can't be
remixed.

`decodeVideo` picks the decoded CPU pixel layout: `VideoDecoderOutput.format`
is `.i420` when unset, or `.rgba` for four bytes a pixel, and every frame
Expand Down
2 changes: 1 addition & 1 deletion go/wrapper/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (b *BroadcastProducer) PublishContainerStream(format ContainerFormat) (*Con

// EncodeAudio publishes a raw-audio track with an in-process encoder.
//
// Select the codec with OpusAudioCodec (currently the only constructor).
// Select the codec with OpusAudioCodec or AacAudioCodec.
// Pass bandwidth to reserve this track's bitrate against the session's
// allocator so a co-resident video encoder sizes itself against what is left.
func (b *BroadcastProducer) EncodeAudio(name string, input AudioEncoderInput, output AudioEncoderOutput, bandwidth *Bandwidth) (*AudioProducer, error) {
Expand Down
10 changes: 8 additions & 2 deletions go/wrapper/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import ffi "moq.dev/moq-ffi/moq"
type (
// Audio describes one audio rendition in a broadcast catalog: codec, sample rate, channel count, and container.
Audio = ffi.MoqAudio
// AudioCodec selects the audio encoder codec. Build one with OpusAudioCodec;
// AudioCodec selects the audio encoder codec. Build one with OpusAudioCodec or AacAudioCodec;
// adding a codec later adds a constructor, not a breaking enum change.
AudioCodec = ffi.MoqAudioCodec
// AudioDecoderOutput configures the PCM format, sample rate, and channels DecodeAudio delivers.
AudioDecoderOutput = ffi.MoqAudioDecoderOutput
// AudioEncoderInput declares the PCM sample format, sample rate, and channel count of frames written to an audio producer.
AudioEncoderInput = ffi.MoqAudioEncoderInput
// AudioEncoderOutput configures the Opus encoder: codec, optional sample rate, channels, bitrate, and frame duration.
// AudioEncoderOutput configures the encoder: codec, optional sample rate, channels, bitrate, and frame duration.
AudioEncoderOutput = ffi.MoqAudioEncoderOutput
// AudioSampleFormat is a raw PCM sample layout, mirroring WebCodecs AudioData.format.
AudioSampleFormat = ffi.MoqAudioSampleFormat
Expand Down Expand Up @@ -184,6 +184,12 @@ func OpusAudioCodec() *AudioCodec {
return ffi.MoqAudioCodecOpus()
}

// AacAudioCodec selects AAC-LC through the platform's encoder for EncodeAudio.
// A host without one refuses it. Leave FrameDurationUs at 0 for AAC's own frame.
func AacAudioCodec() *AudioCodec {
return ffi.MoqAudioCodecAac()
}

// VideoPixelFormat values: the raw pixel layout fed to the in-process encoder,
// and the one the in-process decoder delivers.
const (
Expand Down
8 changes: 5 additions & 3 deletions js/hang/src/util/aac.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ describe("audioSpecificConfig", () => {
expect(audioSpecificConfig(48000, 8)).toEqual(new Uint8Array([0x11, 0xb8]));
});

// Unsupported channel counts fall back to stereo (config 2).
it("unsupported channel count falls back to stereo", () => {
expect(audioSpecificConfig(48000, 7)).toEqual(audioSpecificConfig(48000, 2));
// A count with no channel configuration is refused rather than described as stereo.
it("refuses a channel count with no configuration", () => {
for (const count of [0, 7, 9]) {
expect(() => audioSpecificConfig(48000, count)).toThrow();
}
});

// Non-table sample rates use the 5-byte explicit-frequency form (freqIndex 0xF).
Expand Down
10 changes: 5 additions & 5 deletions js/hang/src/util/aac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ export function pickRate(rate: number): number {
const AAC_LC = 2; // audioObjectType for AAC-LC

// Map a channel count to its AAC channelConfiguration (ISO 14496-3 Table 1.19). Configs 1..=6 are
// identity (5.1 is config 6 / 6 channels); 8 channels is config 7 (7.1). Anything else has no valid
// config, so fall back to stereo (matching the Rust muxer in rs/moq-mux/src/codec/aac).
// identity (5.1 is config 6 / 6 channels); 8 channels is config 7 (7.1). Anything else has no
// config, and describing it as stereo would mislabel every channel past the first two.
function channelConfig(channelCount: number): number {
if (channelCount >= 1 && channelCount <= 6) return channelCount;
if (Number.isInteger(channelCount) && channelCount >= 1 && channelCount <= 6) return channelCount;
if (channelCount === 8) return 7;
return 2;
throw new Error(`no AAC channel configuration for ${channelCount} channels`);
}

/**
* Build the AAC-LC AudioSpecificConfig that decoders need when frames are raw (no ADTS header).
*
* Standard sample rates produce the 2-byte form; non-table rates fall back to the 5-byte form
* with an explicit 24-bit frequency. Mirrors the Rust muxer so JS and Rust agree on the bytes.
* with an explicit 24-bit frequency. Throws for a channel count no configuration names.
*/
export function audioSpecificConfig(sampleRate: number, channelCount: number): Uint8Array {
const config = channelConfig(channelCount);
Expand Down
2 changes: 1 addition & 1 deletion kt/moq/src/jvmAndAndroidMain/kotlin/dev/moq/Aliases.kt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ typealias FetchGroupOptions = uniffi.moq.MoqFetchGroupOptions
typealias TrackInfo = uniffi.moq.MoqTrackInfo
/** One audio frame: PCM payload bytes plus a presentation timestamp. */
typealias AudioFrame = uniffi.moq.MoqAudioFrame
/** Selects the audio encoder codec. Build one with `AudioCodec.opus()`. */
/** Selects the audio encoder codec. Build one with `AudioCodec.opus()` or `AudioCodec.aac()`. */
typealias AudioCodec = uniffi.moq.MoqAudioCodec
/** A raw PCM sample format, mirroring WebCodecs `AudioData.format`. */
typealias AudioSampleFormat = uniffi.moq.MoqAudioSampleFormat
Expand Down
Loading
Loading