简体   繁体   中英

Implementation of signaling server for Android which will use webRTC using java

我将实现webRTC用于语音和视频呼叫,为此我首先需要一个信令服务器。任何人都可以给我发一些链接或一些指导用于使用java实现信令服务器。

If you want to build signalling server using java, you can use sip servlet.

Sip Servlet

A SIP servlet is a Java programming language server-side component that performs SIP signalling. SIP servlets are managed by a SIP servlet container, which typically are part of a SIP-enabled application server

See also mobicent implemention on sip servlet mobicent And also see JainSip for signalling server JSIP

I am not sure about java. But you can try node.js(JavaScript) and socket.io to set up a signalling server.

Go to the signalling section of the following link: http://www.html5rocks.com/en/tutorials/webrtc/basics/

If you want to try java, try setting up a websocket server to handle data from browsers.

Personally, I prefer to use PeerJs (Javascript) as the signally server. Peerjs is built on node.js and provide a lot friendly API for user to implement signalling.

I have no idea whether you can do it with JAVA. But JavaScript seems a better choose to build a signalling server.

To implement a signalling server, This tutorial should be a very good example about how to do it with Peerjs and Crosswalk.

You can also have a look at RestComm http://restcomm.com/ and https://github.com/Mobicents/RestComm .

It already contains :

Of course, everything is open source so any contributions are welcome ;) !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM