V
V
Viktor Burakov2015-01-06 00:38:52
PHP
Viktor Burakov, 2015-01-06 00:38:52

How to create a private WebRTC video chat?

For the second day I have been surfing the Internet, practicing, reading about WebRTC. I can not find a normal way to create a connection between two browsers to transfer video and audio streams.
It needs to be done with the efforts of PHP, JS, HTML5. T.b. without Node.js etc.
As I see it:
The user enters the page, receives a unique ID, then allows the use of the webcam, another user ID comes from the server, and by this ID they establish a connection with each other.
Something like chatroulette.
I achieved that the user sees himself in the browser, but I didn’t understand how to transfer this to another user :(
Here I read a little, but this is not enough (
habrahabr.ru/post/163527
And then I didn’t understand how the language is also made I don't know the server
habrahabr.ru/post/171477
I would be grateful for any links.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
c4boomb, 2015-01-06
@c4boomb

habrahabr.ru/post/171477
Here, in general, you do not need to know the server language (Python). Think about how to process in PHP what the client sends (JS) using code comments (Python) in the article.

A
Alexander Aksentiev, 2015-01-06
@Sanasol

https://github.com/cjb/serverless-webrtc/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question