Implementing webrtc at server side [closed] - javascript

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
Is it possible to implement webRTC at server side? ie., I want my browser to connect to a http server(tomcat which runs a java based app to stream a video) using webRTC protocol and get the streem from the server?
I think compiling webRTC api and access it through JNI will help. Any other easy directions to do this?

There is now a server-side implementation of WebRTC in Asterisk that should enable that: https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support
I haven't yet looked into it that much so I can't say for sure that it does what you want.

Take a look at Lynckia's Licode Project. It is however, Node.js serverside.

Related

What happens if I use socket.io allover the app? [closed]

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 12 months ago.
Improve this question
I am writing an android app using Java and for the back-end I chose socket.io in node js.
I just want to ask what happens if I socket.io instead of rest-api?
Using socket.io as the main communication system is not a good choice because the communication system is always open.
now imagine 1000 people want a data trough sockets, it will slowdown your server and sometimes cause server crashes.

How to Access Smart Card from a Chrome browser using WebUSB API and PC/SC? [closed]

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 3 years ago.
Improve this question
I'm trying to write a web application which needs to exchange messages with a local Smart Card.
Currently I'm trying to use WebUSB API to connect the Chrome with the smart card reader, but I'm struggling to use the PC/SC specification.
In my researches I found this two topics:
Architectures to access Smart Card from a generic browser? Or: How to bridge the gap from browser to PC/SC stack?
How to send APDU to PCSC reader from web broswer using javascript
Although they deal with the same subject, they have no connection examples.
If anyone has any tips or example of connection I would be grateful.

best way to communicate javascript and C++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
how can I communicate javascript with C++, run some commands, get active processes, but I didn't find any information on the web.
What I saw is the following links but none helps me:
http://comunidad.aisoy.es/api/Communication.html
http://www.mosync.com/docs/sdk/js/guides/wormhole/extending-javascript-with-cpp/index.html
http://www.codeguru.com/cpp/i-n/ieprogram/article.php/c4399/JavaScript-Calls-from-C.htm
Based on your tiny requirements description, here's a brief overview:
Run your C++ code as a stripped down version of http server, OR better write a C++ apache module. Make your javascript to make AJAX request to the exposed URL by the C++ http server, return the response in JSON/XML.
Just the standard way for your UI (javascript) to speak to the backend (C++)

I am new to WebRTC. I need to know if i require username and password to use WebRTC just like skype [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I read article about WebRTC. I understood that it creates a common platform for real time communication. Can some one answer me that if WebRTC requires credentials and also is there any time limit to use.
It's not a platform. According to webrtc.org, WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple JavaScript APIs.
If you want to develop it just with browser and your js code. http://www.webrtc.org/ has all the information you may want.

Web-based collaborative editing [closed]

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
I want to develop a web-based collaborative editing app: basically many users will transcribe a big mp3. The first step is to write a specification.
It seems pretty easy to do it with async communication and javascript, keeping track of the transcription an user gives and forwarding it to other users editing the same file, but I fear I might be underestimating the problem: what are the common issues this kind of problem raises?
Thanks!
You didn't specify what browsers you want to support. To do it "real-time", you can either poll the server or use Comet or WebSocket (for browsers that support it) or Flash net Socket. As with any collaborative app, I think the hardest problem is conflict resolution/keeping all sessions synchronized.
You might be interested in reading Google Wave Protocol too. It's a white paper on real-time collaborative document editing. Not for the faint of heart :D

Categories