wsygzyr / libjingle

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

No way to xmpp disconnect/logout in the example "call" #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
On the commandline of "call", there is a "quit" command. This actually calls 
Quit on the thread, which terminates the application.

Relevant code from examples/call/callclient.cc:
----
void CallClient::Quit() {
  talk_base::Thread::Current()->Quit();
}
----

What is the expected output? What do you see instead?
What is the right set of calls a logout/xmpp disconnect.
There should be a command to just disconnect/logout.

What version of the product are you using? On what operating system?
libjingle 0.5.6 on Mac OS X 10.6.7

Please provide any additional information below.

Original issue reported on code.google.com by explorer...@gmail.com on 25 Jun 2011 at 1:00

GoogleCodeExporter commented 9 years ago
I meant: What is the right sequence of calls to do a logout instead of an full 
Quit of the application.

Btw, the quit causes a segmentation fault as well.

Original comment by explorer...@gmail.com on 25 Jun 2011 at 1:02

GoogleCodeExporter commented 9 years ago
The sample app only provide two level of "termination". The "hangup" command 
will exit the current call. The "quit" command will logoff and exit the app.

Original comment by jun...@google.com on 29 Jun 2011 at 12:38

GoogleCodeExporter commented 9 years ago
Can you please atleast recommend the steps to do a clean xmpp disconnect based 
on the code?

Original comment by explorer...@gmail.com on 29 Jun 2011 at 1:09

GoogleCodeExporter commented 9 years ago
The xmpp disconnect is a known issue that will be fixed in the future, but it's 
a lower priority for now.

Original comment by jun...@google.com on 30 Jun 2011 at 8:25