1

I want to implement video audio and text chat in native Android using Icelink. I implement demo provided by Icelink but it makes a conference call. I want to make one to one call using request and answer signalling method. Till now I did with connect server and bind user with it. i use Websync for server-side implementation.

Now the problem is what can I do for getting all the users.?? Suppose I will get all users from server side then how can I send a request from one user to other user and connect with upon second user's response??

Follow this diagram : Signaling Diagram

if anyone implemented or worked with Icelink and Websync please help me...Thanks

Ajay Mistry
  • 951
  • 1
  • 14
  • 30

2 Answers2

0

This answer comes quite late but I hope it's still useful for you.

The example provided with IceLink does indeed work as a conference call because all the users join the same WebSync channel and the example is setup to create a connection to a user that joins the channel.

For a simple and quick solution, you could have only two people join a single channel, then it's only a two person conference.

For something more advanced, note that IceLink is signalling agnostic. You can provide your own signalling mechanism as long as you can pass the offer and answer messages between two clients.

Josh Mackey
  • 233
  • 2
  • 10
  • have you ever implement such mechanism ?? I implemented that demo provide by icelink but can't understand how to send offer to another user and get response from that user.?? – Ajay Mistry Mar 14 '18 at 08:56
  • Let me try and clarify this, are you asking how to send and receive messages to a single remote peer using WebSync? – Josh Mackey Mar 14 '18 at 20:03
  • exactly..i want to make mechanism like video calling.. first of all one user can call to another ..then other receive the notification that one want to (or ask to) join ..then second user give response..on their response one can join or discard ...hope you can understand.. – Ajay Mistry Mar 15 '18 at 05:37
0

What I did was I put the users in the same WebSync channel and A Publishes in that channel with Ring message (as an example) and the other one, inside onReceive, gets that message and I show prompt to the user and if they accept it, I communicate the Session number to user A again and then they are put in the same conference (which is one-to-one in this case)

Amir Hajiha
  • 836
  • 8
  • 20