You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW, I'm working on React-Native with mediasoup-client, the workaround to this issue just changes the nodejs entrypoint from "lib-es5/index.js" to "lib/index.js" as package.json below:
BTW, I'm working on React-Native with mediasoup-client, the workaround to this issue just changes the nodejs entrypoint from "lib-es5/index.js" to "lib/index.js" as package.json below:
I'd like to move main to point to the untranspiled entry point (lib/index.js). However, have you tested that it still works in Chrome, Firefox and Safari that way?
There's a transpiler issue that failed to transpile codes into
lib-es5
.For instance, in line 21 of
lib/handlers/sdp/commonUtils.js
:transpiled to:
it will throw
Uncaught TypeError: sdp.media[Symbol.iterator] is not a function
as Iteration_protocols, pure js object is not iterable.The best way to solve it is to refactor the codebases by replacing
with
for reference: babel/babel-loader#84
BTW, I'm working on React-Native with mediasoup-client, the workaround to this issue just changes the nodejs entrypoint from "lib-es5/index.js" to "lib/index.js" as
package.json
below:any suggestion?
mediasoup
is great 👍The text was updated successfully, but these errors were encountered: