---
title: "sdp 4.0.0 Breaking Changes on npm | Since.dev"
description: "What each sdp release removed, renamed or changed: 14 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/sdp
last_updated: 2026-12-04
---

# sdp breaking changes

sdp 4.0.0 (December 1, 2026) is its newest release with breaking changes, 14 of them. The first: Removed localCname. Every breaking API change we have recorded in sdp on npm: 14 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released December 1, 2026. [Source repository](https://github.com/fippo/sdp)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## sdp 4.0.0 breaking changes

sdp 4.0.0, released December 1, 2026: 14 breaking changes.

- **Removed** `localCname`  

localCname was removed in sdp 4.0.0 [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `getDirection`  

Was function getDirection(mediaSection: SDPSection, sessionpart: SDPSection): SDPDirection; now function getDirection(mediaSection: SDPSection, sessionpart?: SDPSection): SDPDirection. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `getIceParameters`  

Was function getIceParameters(mediaSection: SDPSection, session: SDPSection): SDPIceParameters; now function getIceParameters(mediaSection: SDPSection, session: SDPSection): SDPIceParameters | null. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `getMid`  

Was function getMid(mediaSection: SDPSection): string; now function getMid(mediaSection: SDPSection): string | undefined. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `parseMsid`  

Was function parseMsid(mediaSection: SDPSection): SDPMediaStreamId; now function parseMsid(mediaSection: SDPSection): SDPMediaStreamId | undefined. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `parseSctpDescription`  

Was function parseSctpDescription(mediaSection: SDPSection): SDPSctpDescription; now function parseSctpDescription(mediaSection: SDPSection): SDPSctpDescription | undefined. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `SDPDtlsParameters.role`  

Was role: string; now role: 'auto'. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `SDPHeaderExtension.attributes`  

Was attributes: string | undefined; now attributes?: string. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `SDPMediaSource.attribute`  

Was attribute?: string; now attribute: string. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `SDPMLine.fmt`  

Was fmt?: string; now fmt: string. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `SDPMLine.port`  

Was port?: number; now port: number. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `SDPRtpCapabilities.fecMechanisms`  

Was fecMechanisms: string\[\]; now fecMechanisms?: string\[\]. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `SDPRtpCapabilities.headerExtensions`  

Was headerExtensions: SDPHeaderExtension\[\]; now headerExtensions?: SDPHeaderExtension\[\]. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)
- **Signature changed** `writeRtcpFb`  

Was function writeRtcpFb(codec: SDPCodec): SDPLine\[\]; now function writeRtcpFb(codec: SDPCodec): SDPLine. [npmjs.com](https://www.npmjs.com/package/sdp/v/4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
