Skip to content

Add support for AMR-WB#995

Draft
xnorpx wants to merge 1 commit into
mainfrom
dev/amrwb
Draft

Add support for AMR-WB#995
xnorpx wants to merge 1 commit into
mainfrom
dev/amrwb

Conversation

@xnorpx

@xnorpx xnorpx commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Not ready, need more iterations

Comment thread src/format/codec.rs
Opus,
PCMU,
PCMA,
/// AMR Wideband (RFC 4867), 16 kHz mono telephony/IMS audio.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comments

pub max_red: Option<u32>,

/// AMR-WB specific parameter (RFC 4867).
///

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make it clearer this is just for parsing and we don't support it

}

if c0.channels != c1.channels {
if !Self::channels_match(c0, c1) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not related, leave alone

return true;
}

if c0.codec == Codec::AmrWb && c1.codec == Codec::AmrWb {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, this is weird.

return None;
}

// Interleaving and robust sorting add RTP payload fields/layouts that

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put these higher up?

Comment thread src/rtp/mtime.rs
pub const FORTY_EIGHT_KHZ: Frequency = Self::make(48_000);

/// Cycles in a second of a 16 kHz signal.
pub const SIXTEEN_KHZ: Frequency = Self::make(16_000);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be available in G.722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant