Commit 68d8d3d
committed
fix(mediasoup-sdp-bridge): support mediasoup-client 3.10.x (#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.1 parent 4cd72bc commit 68d8d3d
5 files changed
Lines changed: 52 additions & 2775 deletions
File tree
- .changeset
- Extras/mediasoup-sdp-bridge
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | 211 | | |
213 | 212 | | |
214 | 213 | | |
| |||
0 commit comments