Not logged in. · Lost password · Register
Forum: agsXMPP RSS
A problem with page refresh when a user receives an instant message
Avatar
sannouta chatti #1
Member since Aug 2010 · 5 posts · Location: sousse
Group memberships: Members
Show profile · Link to this post
Subject: Create a chat with agsXMPP librairy
I'm in charge of creating a chat that I'll integrate it in a website.I work with asp.net and the language is c#
I choose the XMPP to do this project (agsXMPP library).

I developed the code and when i tried to execute it,I found that I have a problem with refresh(I used timer but it didn't work well)
Can you please help me to solve this problem with refresh?

Thank you
This post was edited on 2010-08-11, 16:02 by sannouta chatti.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
There are 3 solutions:

1) for a web chats in c# I suggest Silverlight and our MatriX library http://www.ag-software.net/matrix.html

2) If You don't want to use Silverlight and no timers then you have to use a comet style component to transport events the web server to the web client. I don't know if there are comet components available for .NET. And I am not a web developer, so I cannot help you a lot to create one.

3) use a java script XMPP library like Strophe: http://code.stanziq.com/strophe/
Avatar
sannouta chatti #3
Member since Aug 2010 · 5 posts · Location: sousse
Group memberships: Members
Show profile · Link to this post
Thank you for help,
For silverlight:I can't use it.
For comet style component:I'll try to use it but before,I must learn more about it

I have another question:For video chat,what can the XMPP offer to do this and what do you suggest to use as method?
Avatar
Alex #4
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by sannouta chatti:
I have another question:For video chat,what can the XMPP offer to do this and what do you suggest to use as method?

the Jingle extensions in XMPP are for voice and video. e.g. Google Talk using them.
http://www.xmpp.org/extensions
Avatar
sannouta chatti #5
Member since Aug 2010 · 5 posts · Location: sousse
Group memberships: Members
Show profile · Link to this post
Ok,it's clear that jingle extension is the adequate method for audio and video chat.
Is there any source code for a sample use of the library agsXMPP with jungle extension which provides the XMPP functionality in ASP.net?
Avatar
Alex #6
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
sorry but there are no examples. And i don't think you can do voice and video without Flash and Silverlight in browsers today.

Alex
This post was edited on 2010-08-13, 07:31 by Alex.
Avatar
sannouta chatti #7
Member since Aug 2010 · 5 posts · Location: sousse
Group memberships: Members
Show profile · Link to this post
Why I can't do voice and video with Flash and Silverlight in browsers today.
Avatar
Alex #8
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
sorry i meant you can't do voice and without Flash or Silverlight in the browser.
Avatar
sannouta chatti #9
Member since Aug 2010 · 5 posts · Location: sousse
Group memberships: Members
Show profile · Link to this post
Yes,I know that Flash is necessary to do  voice application.

Can you please suggest any site or open source that may help me to couple XMPP and FLASH to make voice and video.
And about the comet,is there any site that contains examples that may be useful.

Thank you for help.
Avatar
Alex #10
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by sannouta chatti:
Can you please suggest any site or open source that may help me to couple XMPP and FLASH to make voice and video.
And about the comet,is there any site that contains examples that may be useful.

sorry, but I don't know any open source project which can help you there.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS