WebRTC data channel onmessage not fired in nextjs framework #78482
Unanswered
chris-opendata
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am porting a working WebRTC voice chat from Django/javascript base into nextjs(v15)/tsx framework. Voice/audio chat works perfectly after porting, but the data channel's onmessage never got fired. Is there any extra setup required in the Next.js/tsx framework?
Here is most of the class implementation:
this.dataChannel.current.onmessage is never fired, and thus, console.log inside it never prints.
Thanks
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions