Subject: Implement ScreenSharing through agsXmpp
We want to implement screensharing in our chat client using agsXmpp.Is there anything in agsXmpp which supports directly.
Currently we are capturing the screen as an image and trying to send it to the other user using Presence.
Presence pres = new Presence();
pres.Type = PresenceType.invite;
pres.To = to;
pres.Status = message;
Avatar avatar = new Avatar();
avatar.Hash = agsXMPP.util.Hash.HexToString(bytes); //bytes is nothing but my screen image in byte[].
pres.AddChild(avatar);
m_connection.Send(pres);
This is not working,my connection is getting lost.I hope the error is because avatar.Hash contains a very huge string.
Can u give me the solution for this.How can i tranfer an image(of unrestricted size) between two users....?
Currently we are capturing the screen as an image and trying to send it to the other user using Presence.
Presence pres = new Presence();
pres.Type = PresenceType.invite;
pres.To = to;
pres.Status = message;
Avatar avatar = new Avatar();
avatar.Hash = agsXMPP.util.Hash.HexToString(bytes); //bytes is nothing but my screen image in byte[].
pres.AddChild(avatar);
m_connection.Send(pres);
This is not working,my connection is getting lost.I hope the error is because avatar.Hash contains a very huge string.
Can u give me the solution for this.How can i tranfer an image(of unrestricted size) between two users....?