Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React-Native: Unhandled promise rejection [RangeError: Maximum call stack size exceeded (native stack depth)] #205

Open
DannyBiezen opened this issue Dec 2, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@DannyBiezen
Copy link

DannyBiezen commented Dec 2, 2022

Version affected
"@millicast/sdk": "^0.1.35",
"react-native-webrtc": "^106.0.0-beta.7",

Describe the bug
I followed the guide at https://docs.dolby.io/streaming-apis/docs/rn. I've been able to get a Millicast stream running but am seeing an error (Unhandled promise rejection [RangeError: Maximum call stack size exceeded (native stack depth)]) in my logs.
image

To Reproduce
Follow the guide at https://docs.dolby.io/streaming-apis/docs/rn

Expected behavior
To not have unhandled exceptions in my logs

Environment (please complete the following information):

  • Android 12
  • Windows 10
@DannyBiezen DannyBiezen added the bug Something isn't working label Dec 2, 2022
@olbapbetan
Copy link
Contributor

Hello @DannyBiezen,

Thanks for letting us know that you are facing issues with the JS SDK.

We have already built a sample app that shows the integration of the JS SDK with React Native, you can check it out here: https://github.com/millicast/streaming-sdk-react-native-getting-started

Regarding what you mentioned, I recommend you update the versions of both JS SDK and React Native webRTC.

The error you are experiment might be caused by some packages (versions, dependencies) that are not compatible together or even an incorrect usage of a React Native component.

Please let me know if these comments were helpful.

Kind regards,
Pablo.

@adivincenzo
Copy link

@DannyBiezen have you been able to resolve this at all? I've been seeing the same error in my application.

@adback03
Copy link

Also seeing this using latest versions:

"@millicast/sdk": "^0.1.39",
"react-native-webrtc": "^106.0.0-beta.8",

@olbapbetan
Copy link
Contributor

Hello @adback03,

Be sure to use a non-beta version of react-native-webrtc, since those are known to cause several issues.

For instance, in the project I mentioned in the prior message, we used:

"react-native-webrtc": "^106.0.0"

As it may be seen here: https://github.com/millicast/streaming-sdk-react-native-getting-started/blob/main/package.json

I am afraid that without further information we can not give more help.

Kind regards,
Pablo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants