Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
We are looking to implement a group -voice- chat in the browser using node.js on the server. Is this possible?
If you want your solution to be purely JavaScript based on both, server and client side, then you would probably have to wait for the WebRTC, Device API or media capture API and then implement node.js backend for it.
Other than that it is, I would say, a question of Flash oriented APIs on the client side (for accessing devices such as cameras or microphones) and some kind of interoperability with node.js backend in case you don't want to take advantage of Flash Media Server or Red5.
I'm researching and working on the same problem.
This is my proposed stack:-
capturing voice on the client
https://github.com/jiehanzheng/Recorderjs/blob/master/README.md
encoding the captured speech so that it can be shared via Node
https://github.com/jpemartins/speex.js
sharing voice data with multiple users
node.js and socket.io
Somebody wrote a THESIS on this. good read but some missing code in the samples
http://pure.ltu.se/portal/files/36285511/LTU-EX-2012-36247736.pdf
relevant question on so. in particular look at answer by sirjamm
How to Call SPEEX Audio Decode/Encode in HTML5 / JavaScript (Without Flash)
If I get it working, will post the github ref here.
hth
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Good morning, I´m studiyng and have this problem to solve. I have to create the logic in Javascript with nodejs, to access the device camera (this is a webApp, not Android, thats why is coded in JS), then take a picture and then send it to my backend and save it in Firebase Cloud Storage. I´m not asking for a complex code, but if u know any source, or any repository to start working will be appreciated.
Thanks in advance :D
Happy coding!
When using Node.js as part of a web application it is used for the server-side component of the application and doesn't have access to any cameras on devices accessing it.
You need to use client-side code to do that.
iOS and Android devices tend to make the camera available as an option when you use a regular <input type="file"> so you can use a normal HTML form and your usual multipart-capable body parsing library (not body-parser although its documentation list some options) on your server.
If you want access to a webcan cam then you'd need to look into WebRTC.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Will it be possible to do live video streaming in a webpage without using server side scripting or programming?, if possible, Can anyone help me to do live video streaming in my website using jQuery or JavaScript?
No, it isn't.
You have to have something on the server to send the video stream.
Client side code can't pick up the video from the ether.
All you can do is involve video embedding from Youtube code snippet or other sites.
This won't require your own server.
This tutorial might help.
Well if you really want you probably can stream previously encoded files. However live streaming takes encoding, which might be inefficient with JS. If you can manage encoding i.e. your webcam output in realtime by some means like FFMPEG then you can use the FileReader API to pick up the encoded video content and stream it out through a socket by a worker session.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
The community reviewed whether to reopen this question 10 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I have this new project that requires fingerprint bio metrics.
A Regular fingerprint scanner device will be used but I have less idea on how to use web technologies(HTML,JS,etc...) with this device, I already know that one way to do this is through Java. I was wondering if it is possible that this could be done using basic web technologies like JavaScript, HTML5 or even PHP.
All I need to do is to save the image of the scanned fingerprint to a specific file but I am not sure if HTML5 or JavaScript alone can do this.
I need to know if this is really possible and how.
Any solutions will do.
Welcome to 2019
You can now implement Web_Authentication_API https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API
Firstly let me explain you the basic concept. For any external devices to interact , you need a device driver in the PC and a software that co-ordinates with the device driver to receive input and send outputs to the device.
You cannot do that with the sole HTML/JS alone.Also PHP is meant meant only for server side.
If possible your SDK/software supports uploading to internet, you can post & verify the data from the internet using PHP server.
If you prefer to go with JAVA, you can refer the below post:
How to capture biometric information on a webpage by using Java
The WebAuthn is the newest browsers feature that helps you to Authenticate users by Fingerprint Biometric on Mobile devices and Security devices on Desktop devices.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I need to create a page which can be shared across multiple users. Means while doing some stuff on my page, that should be broadcast to all the users who are joining me that time. At the same time they can also do some stuff. Something like web conferencing. I need to either use javascript or C#. Is there any API or javascript plugins or any other libraries that I can use? If there then please tell me. I don't need to share desktop just need to share only one part of a web page or only one section only like you can assume I have a particular division, there I have a canvas. On that canvas, I will type or draw something that should be broadcast to everyone.
SignalR is an open source technology built by two Microsoft employees and leverages C# and JavaScript (there is a jQuery plugin for the script side).
A good example to get you rolling would be ASP.NET MVC 3 Real Time Collaborative Apps with SignalR.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am developing a web application on the stack:
node.js (reverse proxied by nginx)
backbone.js
mongodb
The application has forms containing phone number fields. A button at the end of the application is required to call that number.
Our service provided of SIP gave us these:
sip:phone_number#some.host.ip
username
password
Now, i was exploring options and came across phono.com, sipml5 and asterisk (for server)
Do we really need a asterisk or freeswitch server for this? I am in a notion that what i require is just a frontend library that allows to make calls using SIP account details provided. The interface (dialing pad etc.) can be developed though by making neat API calls with the library.
I found sipml5 un-necessarily complicated. phonojs doesn't work. What are my options in this case?
Please shed some light over the issue.
It's not required to use Asterisk. Though, you will need something that understands websocket, since all signaling from web-based clients usually goes through that type of connection.
In your case you can use something like OverSIP proxy to pass SIP from your web-client over to your service provider. Or you can try to search for a carrier that provides WebRTC service, like vLine