Can we send audio/video and text data over single connection? #1150
Replies: 1 comment
-
As far as I can see " not yet supported " : peerjs.min.js:7 Uncaught Error: Type "function MediaStream() { [native code] }" not yet supported but here is a different repository, which should work : https://github.com/ourcodeworld/videochat-peerjs-example They combine peerjs.js with node.js, I guess to solve the " not yet supported " issue. |
Beta Was this translation helpful? Give feedback.
-
I'm in the process of developing a video chat application where two peers can communicate through both video and text chat. Currently, I'm using two separate PeerJS connections: one with
peer.call()
for video and another withpeer.connect()
for text chat. I'm curious if it's possible to streamline this and handle both video and text communication through a single PeerJS connection. Has anyone successfully achieved this, or can you offer suggestions on how to optimize the connection setup?Beta Was this translation helpful? Give feedback.
All reactions