jigar-joshi / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Multiple users logged in one instance of Call sample Program? #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to modify Call sample program to be able to log in to Gtalk with 
multiple users. But I think I'm having problem with the threads.
To not waste too much time on this, I came here to ask if is it possible to 
achieve this? Multiple users logged in Gtalk using one instance of Call program?

Thanks

Original issue reported on code.google.com by fe.mesqu...@gmail.com on 10 Nov 2010 at 1:05

GoogleCodeExporter commented 9 years ago
The approach I've been trying is:
- Create a new class called Login with a public method doLogin, which basically 
has MAIN's initial code to do the login.
- In class callclient, add a new option 'login' which instantiate a new Login 
object and then call the doLogin() method.

What's happening is that it prompts JID: to enter the jid, after typing the jid 
and pressing enter it doesn't prompt for the password, it just stops, and 
whatever you type, nothing happens.

It seems to be some problem with threads or the Console object...
I've already tried a call to talk_base::Thread->Current()->Quit() or a call to 
console_->Stop(), but neither worked...
Does anyone have any ideas ?

Thanks 

Original comment by fe.mesqu...@gmail.com on 10 Nov 2010 at 1:41

GoogleCodeExporter commented 9 years ago
This is the same issue as #100. Currently, MUC doesn't work for libjingle. We 
are investigating. I resolve this as dup of #100.

Original comment by jun...@google.com on 23 Nov 2010 at 5:19