Skip to content

feat: choose the RTP header extensions a transceiver negotiates - #606

Merged
devopvoid merged 2 commits into
mainfrom
feat/transceiver-header-extensions
Nov 26, 2026
Merged

devopvoid merged 2 commits into
mainfrom
feat/transceiver-header-extensions

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Description

  • RTCRtpTransceiver.getHeaderExtensionsToNegotiate(), getNegotiatedHeaderExtensions() and setHeaderExtensionsToNegotiate(List), as in the WebRTC extensions specification. A header extension set to STOPPED is left out of the next negotiation.
  • RTCRtpHeaderExtensionCapability has a direction, with withDirection(...), equals and hashCode.
  • Fix: getCodecPreferences() always returned null, as the native code returned a local reference it had already deleted.

Motivation and Context

Applications could not turn off header extensions they do not want negotiated, such as the audio level.

Type of Change

  • Bug fix (fix)
  • New feature (feat)

Affected Modules

  • webrtc (Java API)
  • webrtc-jni (native code)
  • docs

@devopvoid
devopvoid merged commit 93653eb into main Nov 26, 2026
27 checks passed
@devopvoid
devopvoid deleted the feat/transceiver-header-extensions branch November 26, 2026 16:39
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