access to USB devices with webrtc

259 views
Skip to first unread message

josue numbi

unread,
Sep 22, 2017, 2:21:27 AM9/22/17
to discuss-webrtc
Good evening,
I am a student and I ask for your help on a project of memory

My project is called the setting up of a teleconsultation platform. The objective of the project is to set up a teleconsultation platform enabling the physician to consult a patient remotely and in real time. This platform will be accessible via the web and consultation will be via videoconference.
I use WebRTC and application server based on nodejs technology, and a mongodb database for patient and physician registration
So this is a medical web application and I already realized the authentication interface and connection to the mongodb database for patient registration;


The patient connects to the platform and consults with a physician by videoconference, the doctor makes a diagnosis and responds by the same means, the doctor can prescribe a prescription if necessary so that he can send directly via the platform.
.
My main concern is how to integrate the medical devices into the platform with webrtc; That is, the doctor makes a diagnosis via the platform so that he can detect the patient's problem. the platform must control the medical devices that the patient must plug into a USB port on the PC. and send this information to the server, so that this information is indicated to the doctor.


Currently, the video connection passes correctly, a user A can transmit a video call to the user B and everything works clearly with webrtc.
Now I have to integrate the medical devices to connect the data of these devices directly to the video call so that the patient diagnosis works, is it possible to access the USB devices via the web with webrtc, how can do with my platform?

thank you for helping me

Christoffer Jansson

unread,
Sep 22, 2017, 5:41:12 AM9/22/17
to discuss-webrtc
Hi,

WebRTC can only directly interact with media devices via GetUserMedia and enumerateDevices (MediaStreams from Mic, Camera and screen + select audio output render device). For other hardware devices you need to look at what your OS, Browser, NodeJS etc can provide. It's up to you how to handle that, but once you have the data, you could packetize it and pass it to the other WebRTC clients using data channels.

/Chris

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/e32b8ec1-68ef-45dd-87e7-c11f3229de9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
/Chris
Reply all
Reply to author
Forward
0 new messages