Skip to content

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

@mehdy

Description

@mehdy

UE Version:
N/A

Frontend Version:
N/A

Problem component
mediasoup-sdp-bridge

Description
Installed the mediasoup-sdp-bridge package
If I set the mediasoup-client version >= 3.8.0 then I can't import the mediasoup-sdp-bridge and fails with this error:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/handlers/sdp/commonUtils' is not defined by "exports" in /my/path/node_modules/mediasoup-client/package.json
    at exportsNotFound (node:internal/modules/esm/resolve:314:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:661:9)
    at resolveExports (node:internal/modules/cjs/loader:657:36)
    at Function._findPath (node:internal/modules/cjs/loader:749:31)
    at Function._resolveFilename (node:internal/modules/cjs/loader:1387:27)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Steps to Reproduce:

  1. npm i --save @epicgames-ps/mediasoup-sdp-bridge
  2. node -r @epicgames-ps/mediasoup-sdp-bridge

Expected behavior
The package would be imported without failure.

Screenshots
N/A

Platform (please complete the following information):

  • OS: Ubuntu 25.04
  • Browser: N/A
  • Version: N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions