Skip to content

fix(mediasoup-sdp-bridge): support mediasoup-client 3.10.x#852

Merged
mcottontensor merged 1 commit intoEpicGamesExt:masterfrom
mcottontensor:fix/685-mediasoup-sdp-bridge-3.8
May 1, 2026
Merged

fix(mediasoup-sdp-bridge): support mediasoup-client 3.10.x#852
mcottontensor merged 1 commit intoEpicGamesExt:masterfrom
mcottontensor:fix/685-mediasoup-sdp-bridge-3.8

Conversation

@mcottontensor
Copy link
Copy Markdown
Collaborator

Summary

  • mediasoup-client 3.8.0 added an exports field that hides the internal lib/ subpaths the bridge was importing, causing ERR_PACKAGE_PATH_NOT_EXPORTED on any 3.8+ install.
  • Move the imports to the public paths exposed since 3.10.0:
    • mediasoup-client/handlers/sdp/commonUtils
    • mediasoup-client/handlers/sdp/RemoteSdp
    • mediasoup-client/handlers/sdp/unifiedPlanUtils
    • mediasoup-client/ortc
  • Read IceCandidate from the publicly re-exported mediasoup-client/types.
  • Drop the now-removed extmapAllowMixed option on RemoteSdp.send.
  • Bump devDependencies.mediasoup-client to ~3.10.0 and tighten peerDependencies.mediasoup-client to >=3.10.0 <3.11.0 to signal the tested range.

3.11 added a mandatory third arg to getExtendedRtpCapabilities and 3.16 renamed validateRtpCapabilitiesvalidateAndNormalizeRtpCapabilities; both need follow-up before later versions can be supported.

Test plan

  • npm run build --workspace=@epicgames-ps/mediasoup-sdp-bridge passes against mediasoup-client@3.10.1.
  • Manual: verify a downstream consumer using mediasoup-client@^3.10.0 <3.11.0 can import the bridge without ERR_PACKAGE_PATH_NOT_EXPORTED.

Closes #685.

…Ext#685)

mediasoup-client 3.8.0 added an "exports" field that hides the
internal `lib/` subpaths the bridge was importing, breaking the
package with ERR_PACKAGE_PATH_NOT_EXPORTED on any 3.8+ install.
Move the imports to the public paths exposed since 3.10.0
(mediasoup-client/handlers/sdp/*, mediasoup-client/ortc) and read
IceCandidate from the publicly re-exported mediasoup-client/types.
Drop the now-removed extmapAllowMixed option on RemoteSdp.send,
and tighten the peerDependency to >=3.10.0 <3.11.0 to signal the
tested range. 3.11 added a mandatory third arg to
getExtendedRtpCapabilities and 3.16 renamed validateRtpCapabilities;
both need follow-up before they can be supported.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 30, 2026

🦋 Changeset detected

Latest commit: 68d8d3d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mcottontensor mcottontensor added auto-backport Used to specify we want a PR to auto backport to a branch, must be paired with auto-backport-to-UEX. auto-backport-to-UE5.5 auto-backport-to-UE5.6 auto-backport-to-UE5.7 labels May 1, 2026
@mcottontensor mcottontensor merged commit 14db73f into EpicGamesExt:master May 1, 2026
7 checks passed
@mcottontensor mcottontensor deleted the fix/685-mediasoup-sdp-bridge-3.8 branch May 1, 2026 01:31
@mcottontensor
Copy link
Copy Markdown
Collaborator Author

💔 All backports failed

Status Branch Result
UE5.5 Backport failed because of merge conflicts
UE5.6 Backport failed because of merge conflicts
UE5.7 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

backport --pr 852

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

@mcottontensor
Copy link
Copy Markdown
Collaborator Author

💚 All backports created successfully

Status Branch Result
UE5.5
UE5.6
UE5.7

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

mcottontensor added a commit that referenced this pull request May 1, 2026
…) (#861)

mediasoup-client 3.8.0 added an "exports" field that hides the
internal `lib/` subpaths the bridge was importing, breaking the
package with ERR_PACKAGE_PATH_NOT_EXPORTED on any 3.8+ install.
Move the imports to the public paths exposed since 3.10.0
(mediasoup-client/handlers/sdp/*, mediasoup-client/ortc) and read
IceCandidate from the publicly re-exported mediasoup-client/types.
Drop the now-removed extmapAllowMixed option on RemoteSdp.send,
and tighten the peerDependency to >=3.10.0 <3.11.0 to signal the
tested range. 3.11 added a mandatory third arg to
getExtendedRtpCapabilities and 3.16 renamed validateRtpCapabilities;
both need follow-up before they can be supported.

(cherry picked from commit 14db73f)

# Conflicts:
#	package-lock.json
mcottontensor added a commit that referenced this pull request May 1, 2026
…) (#862)

mediasoup-client 3.8.0 added an "exports" field that hides the
internal `lib/` subpaths the bridge was importing, breaking the
package with ERR_PACKAGE_PATH_NOT_EXPORTED on any 3.8+ install.
Move the imports to the public paths exposed since 3.10.0
(mediasoup-client/handlers/sdp/*, mediasoup-client/ortc) and read
IceCandidate from the publicly re-exported mediasoup-client/types.
Drop the now-removed extmapAllowMixed option on RemoteSdp.send,
and tighten the peerDependency to >=3.10.0 <3.11.0 to signal the
tested range. 3.11 added a mandatory third arg to
getExtendedRtpCapabilities and 3.16 renamed validateRtpCapabilities;
both need follow-up before they can be supported.

(cherry picked from commit 14db73f)

# Conflicts:
#	package-lock.json
mcottontensor added a commit that referenced this pull request May 1, 2026
…) (#863)

mediasoup-client 3.8.0 added an "exports" field that hides the
internal `lib/` subpaths the bridge was importing, breaking the
package with ERR_PACKAGE_PATH_NOT_EXPORTED on any 3.8+ install.
Move the imports to the public paths exposed since 3.10.0
(mediasoup-client/handlers/sdp/*, mediasoup-client/ortc) and read
IceCandidate from the publicly re-exported mediasoup-client/types.
Drop the now-removed extmapAllowMixed option on RemoteSdp.send,
and tighten the peerDependency to >=3.10.0 <3.11.0 to signal the
tested range. 3.11 added a mandatory third arg to
getExtendedRtpCapabilities and 3.16 renamed validateRtpCapabilities;
both need follow-up before they can be supported.

(cherry picked from commit 14db73f)

# Conflicts:
#	package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Used to specify we want a PR to auto backport to a branch, must be paired with auto-backport-to-UEX. auto-backport-to-UE5.5 auto-backport-to-UE5.6 auto-backport-to-UE5.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] - Mediasoup-sdp-bridge incompatible with Mediasoup >= 3.8.0

1 participant