fix(mediasoup-sdp-bridge): support mediasoup-client 3.10.x#852
Merged
mcottontensor merged 1 commit intoEpicGamesExt:masterfrom May 1, 2026
Merged
Conversation
…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 detectedLatest 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 |
Collaborator
Author
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This was referenced May 1, 2026
Collaborator
Author
💚 All backports created successfully
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
exportsfield that hides the internallib/subpaths the bridge was importing, causingERR_PACKAGE_PATH_NOT_EXPORTEDon any 3.8+ install.mediasoup-client/handlers/sdp/commonUtilsmediasoup-client/handlers/sdp/RemoteSdpmediasoup-client/handlers/sdp/unifiedPlanUtilsmediasoup-client/ortcIceCandidatefrom the publicly re-exportedmediasoup-client/types.extmapAllowMixedoption onRemoteSdp.send.devDependencies.mediasoup-clientto~3.10.0and tightenpeerDependencies.mediasoup-clientto>=3.10.0 <3.11.0to signal the tested range.3.11 added a mandatory third arg to
getExtendedRtpCapabilitiesand 3.16 renamedvalidateRtpCapabilities→validateAndNormalizeRtpCapabilities; both need follow-up before later versions can be supported.Test plan
npm run build --workspace=@epicgames-ps/mediasoup-sdp-bridgepasses againstmediasoup-client@3.10.1.mediasoup-client@^3.10.0 <3.11.0canimportthe bridge withoutERR_PACKAGE_PATH_NOT_EXPORTED.Closes #685.