Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Wikipedia says that Flash allows "bidirectional streaming of audio and video". Is it possible to do that with other technologies (for example with JavaScript)?

In other words, I want to transfer video from one user of web-site to another one in real time.

I want to have something that is already installed by many users or easy to install (Flash fulfills this requirements). And I want to have something free.

share|improve this question

closed as off-topic by squillman, Andrew Schulman, Rex, MadHatter, mdpc Nov 7 at 0:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
Why not just use Flash? –  David Rickman Jun 5 '10 at 12:06

2 Answers 2

Flash is probably going to be your best bet since it is already installed for the vast majority of web users and it already supports the technology you're working with (webcams, microphones, audio/video streams, etc.).

share|improve this answer
1  
huh? "direct user-to-user connections will be essentially impossible if you're using Flash" what are you saying? flash provides p2p communication for audio and video streams; central server is used only to bootstrap it. this is how [now exploding] number of audio/video chat websites uses it; they do not re-transmit all the streams - that would be overkill; newteevee.com/2008/12/04/… –  pQd Jun 6 '10 at 6:31
    
I stand corrected on that point. I wasn't aware Flash had that particular capability. –  Justin Scott Jun 6 '10 at 13:43
    
please keep in mind that most mobile solutions (phones, tablets) don't support flash. –  neutrinus Nov 6 at 19:08

You can use WebRTC with just JavaScript to have two way communication within browsers. It can even transmit in many-to-many architecture. As flash is almost dead, webrtc is IMHO the future of p2p communication in web.

There are implementations that use webrtc to stream video&audio to make conferences. Example. There are many other, ready to use solutions like vline.

Keep in mind that not all browsers are well supported - all versions of IE and Safari are lacking native support at the moment, although third party plugins to close the gap are available.

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. –  mdpc Nov 6 at 16:04
    
@mdpc: sure, answer has been rewritten –  neutrinus Nov 6 at 19:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.