peerjs-server icon indicating copy to clipboard operation
peerjs-server copied to clipboard

Help me learn what is needed

Open pjnoxon opened this issue 5 years ago • 1 comments

I would like to try using peerjs but I'm not sure where to start. Here is where I want to end:

I teach piano. To teach a beginner online, I need to communicate PLUS I need to see their hands. If I take a Raspberry Pi Zero W, put the right software on it, give it to a student, they can clip it to the music rest with the camera up above the keyboard. We communicate with Zoom PLUS I want to see the student's hands on a separate laptop. Hardware no problem for me. I have Pi0W, camera is OK.

the FingerCAM So I put the student's home WiFi SSID and password in the Pi0W. I make a startup script which runs a browser and connects to my server (pianoclassforkids.com) with pperjs. So I need to download the library and install it in the Pi0W, right? I want that all downloaded ahead of time. How to do that? Where does it go? If that is done then I just make a simple HTML file and the startup script would open it in Chrome. So the "FingerCAM" (I call it) is done and it's streaming ready. Right?

the Server So I need to have a HTML file on my server (which is Go Daddy). Probably a separate one for each student. And I need to have the js library downloaded ahead of time, right? Where does it go?

teacher's Laptop Finally I need to open a HTML file in Chrome on my ASUS Zenbook to make the connection. So I need the js library on the laptop too - is that right? How do I do that? Where does it go?

The end result is the FingerCAM is 'headless' and just streams video (no audio) when turned on. When the student plugs in the USB battery then I can open the webpage on my laptop and see the student's hands on the keyboard. Although I can't rap them on the knuckles with a ruler, this would make it possible for me to teach beginners online.

Did I mess anything? How do I learn what I need to know to make this happen?

pjnoxon avatar Apr 09 '20 22:04 pjnoxon

I think you may be better suited by a product like whereBy which is free. This library isn't really designed to be an end user video conferencing setup. It's a lower-level WebRTC stream library.

jrowny avatar Apr 10 '20 04:04 jrowny