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
Hi @Zibri, this could be an interesting addition to Chitchatter. I don't think I'll have the time to implement this myself, but I'm open to accepting a Pull Request that implements it.
Instead of file sharing (which does not work well),
Put another icon at the top, next to the webcam icon... clicking the icon will let the user select a file (webm).
To do that you can use captureStream().
See here:
https://webrtc.github.io/samples/src/content/capture/video-video/
In short:
const srcVideo = document.getElementById('srcVideo');
srcStream = srcVideo.captureStream()
also, I don't know if you are already using it, but webrtc can be used to send video ONE to many:
https://muazkhan.com:9001/demos/Scalable-Broadcast.html
which would be the best both for webcam both for video files :D
The text was updated successfully, but these errors were encountered: