Socket io Server side receive an empty stream #4205
Unanswered
AhmedElTabarani
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi! I don't think that is possible, as the stream is not serializable. Maybe a plain WebRTC server is what you are looking for? |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
I try to send the stream to the server side (nodejs), but it receives an empty value, although it has a value in the client side
in the
script.js
I try to access the camera and microphonethen after emit
'join-room'
and emit'user-joined-room'
from serverI print the value of id and stream after listening on
'user-joined-room'
script.js (client side)
output after listening on 'user-joined-room'
in
app.js
after listening on'send-stream'
I get an empty streamapp.js (server side)
output after listening on 'send-stream'
see it print an empty stream
index.html
I posted the question on Stack Overflow here, but I re-posed it here for the benefit -- and I want a solution 🤫 --
Beta Was this translation helpful? Give feedback.
All reactions