Webrtc Javascript with Java/PHP server

Asked

Viewed 967 times

4

Someone ai has some example or documentation, of how to create a Webrtc client (browser), using a Java or PHP server to make the "Handshake" between both?

I cannot use Node.js, and the documentation I find, is getting some information from the Node server, which is needed to start the P2P connection.

  • You could specify the Node server information needed to start the connection you mentioned?

1 answer

2

Felipe,

Your question is about the Webrtc "client" or the server that will be responsible for Signaling (message exchange)?

If it is server related, there are several Websocket projects in PHP, such as:

At the Webrtc (Client/Server) connection points you will use Websocket to signal and send messages that negotiate the connection between the points, after which these points will connect directly to each other (or through a TURN server).

On the website Webrtc has a lot of material and content to help you with the task.

PS. Just out of curiosity, could you explain to me why I can’t use the Node server?

  • The reason for not using Node, are by own company definitions.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.