Skip to content

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

Open
devopvoid wants to merge 2 commits into
mainfrom
feat/transceiver-header-extensions
Open

devopvoid wants to merge 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

This branch has not been deployed

No deployments
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