-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add WebRTC data sending (chat/files) #33
Comments
According to your implementation, I can send video stream data to the server. |
Hi! In this issue, I meant "data" as one of the types handled by WebRTC. There are 3 of them: audio, video, and data. The last one allows sending e.g. text messages or any files actually. I think it would be a nice addition to this repo ;) By "send video stream data to the server" did you mean sending the video stream from your own camera to the other recipient? If so, this can already be displayed locally (one of the recent commits added a local stream display in web and mobile versions). If this is not what you meant, could you please clarify? Cheers, |
Hi Paweł and thank you for responding so quickly! I meant to send video stream data directly to the server by grabbing the video frame data from the client (client 1) and then streaming it directly to the server using Navigator.mediaDevices. Each frame would be manipulated by the server using OpenCV and then sent back to the same client (client 1). I am looking to create kind of "full-duplex communication" between client 1 -> server -> client 1. Thanks, |
Hi! Thank you for clarifying. What you described is probably possible, but not with the current implementation. This project focuses on using WebRTC that is already implemented in web browsers and mobile devices. What it provides is the minimal amount of JS configuration (with Python server handling the signaling) and the rest (including audio/video processing) is handled natively. I think you would need to dig into the implementation to capture single frames and process them with OpenCV. That is beyond the scope of a "simple working example" that this repo is intended to be ;) Sorry I couldn't help more. Cheers, |
No description provided.
The text was updated successfully, but these errors were encountered: