0
Have some way to send the blob to the server in real time (streaming)?
I searched on sockets but did not have good results...
0
Have some way to send the blob to the server in real time (streaming)?
I searched on sockets but did not have good results...
1
Use Websockets to connect to the server and binary transfer. Note that not all browsers accept binary mode from Websockets. A good start to learning Websockets is using Node.js. Maybe I can help you more about this if you specify your question better.
I gave up temporarily to use websockets for lack of money, need a VPS or dedicated hosting plan to run Node.js and websockets, I’m using webrtc, even with the compatibility problem of some browsers...
You are wrong about needing a dedicated VPS, you can use Node.js on your own computer, regardless of the platform. But if you want to go online, you can even test Node.js using Openshift. https://www.openshift.com/
I’m confused using Openshift, how I run the scripts ?
And how I run Node.js locally as a server?
Start by downloading the installer at http://nodejs.org/. Once installed create a main.js file with the example of the homepage of the site and run on a terminal with Node main.js. Regarding Openshift, better create another question with this tag.
but what would be the link to access the js running on Node.js ? my ip?
in brazil I don’t think I can use ip as a server anymore, or ?
Browser other questions tagged javascript jquery
You are not signed in. Login or sign up in order to post.
The way the question is going, it’s hard to answer, but I think what you’re looking for is either Websockets or maybe Webrtc (depending on the application).
– mgibsonbr
has some simple example of using websockets ?
– Alan PS
Personally, no, I’ve never used it in practice. Maybe others can help you better, but since this is something that requires server-side support (i.e. it goes beyond simple HTTP, it’s a separate protocol), it would be nice if you indicated which platform you use.
– mgibsonbr