Coder Social home page Coder Social logo

libjingle's People

Watchers

 avatar

libjingle's Issues

is libjingle (pcp) platform independent?

What steps will reproduce the problem?
1. I tried to use the pcp example on windows
2. succeeded in sending file to myself on the same machine 
3. But came to know that the pcp sample uses some windows libraries:
comsupp.lib secur32.lib ws2_32.lib libexpatMT.lib Iphlpapi.lib crypt32.lib
Advapi32.lib shell32.lib

What is the expected output? What do you see instead?
So can I use this on linux/Mac/etc OSs

What version of the product are you using? On what operating system?


Please provide any additional information below.
So can I use pcp example on linux/Mac/etc OSs

Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 3:01

Release mode file transfer

What steps will reproduce the problem?
1. compile pcp in release mode.
2. transfer files with release mode pcp.  On some transfers (I don't know
how to reproduce exactly) receiving party will be notified the transfer
failed, while sending party gets notified of successful transfer
3.

What is the expected output? What do you see instead?
Transfer should succeed.  Instead, sending machine completes transfer but
receiving machine gets transfer failed notification.  

What version of the product are you using? On what operating system?
libjingle 0.4 on windows XP

Please provide any additional information below.
Only happens in Release mode.  Win32Filesystem::MoveFileI was failing. 
Changing line 143 of /talk/base/win32filesystem.cc to the following fixed
the issue for me:
if(rename(old_path.pathname().c_str(), new_path.pathname().c_str()) !=0) {

Original issue reported on code.google.com by [email protected] on 30 Mar 2007 at 6:18

gcc/arm-unknown-linux-gnu/3.4.2/../../../../include/c++/3.4.2/ext/new_allocator.h:69: undefined reference to `speex_wb'

What steps will reproduce the problem?
1.CPPFLAGS="-I/usr/local/ARM/include/ -I/usr/local/openssl0.9.7d/include/"
LDFLAGS="-L/usr/local/ARM/lib/ -L/usr/local/openssl0.9.7d/lib"  ./configure
--host=arm-unknown-linux-gnu --with-ilbc=/usr/local/ARM/ilbc/
2.make

../../../talk/session/phone/.libs/libcricketsessionphone.a(linphonemediaengine.o
)(.text+0x1638):/usr/local/arm.new/bin/../lib/gcc/arm-unknown-linux-gnu/3.4.2/..
/../../../include/c++/3.4.2/ext/new_allocator.h:69:
undefined reference to `speex_wb'
../../../talk/session/phone/.libs/libcricketsessionphone.a(linphonemediaengine.o
)(.text+0x1650):/usr/local/arm.new/bin/../lib/gcc/arm-unknown-linux-gnu/3.4.2/..
/../../../include/c++/3.4.2/ext/new_allocator.h:69:
undefined reference to `pcmu8000'

What is the expected output? What do you see instead?
Successful compilation.

What version of the product are you using? On what operating system?
0.3.0 kubuntu 7.10

Please provide any additional information below.

 I am cross compiling libjingle. Is there any one who has done cross
compilation of libjingle

Original issue reported on code.google.com by [email protected] on 11 Dec 2007 at 10:57

GIPS

These are the errors that occur when i removed the phone folder from
libjingle solution file opened using VC 2005... 
Without them i m unable to proceed... !!

h:\libjingle-0.4.0\talk\session\phone\gipslitemediaengine.h(33) : fatal
error C1083: Cannot open include file:
'talk/third_party/gips/Interface/GipsVoiceEngineLite.h': No such file or
directory
channelmanager.cc
h:\libjingle-0.4.0\talk\session\phone\gipslitemediaengine.h(33) : fatal
error C1083: Cannot open include file:
'talk/third_party/gips/Interface/GipsVoiceEngineLite.h': No such file or
directory
call.cc
h:\libjingle-0.4.0\talk\session\phone\mediaengine.h(37) : fatal error
C1083: Cannot open include file: 'talk/session/phone/codec.h': No such file
or directory
audiomonitor.cc

Original issue reported on code.google.com by [email protected] on 1 Nov 2008 at 10:13

unable to build with gcc 4

What steps will reproduce the problem?
1. Building on x86-64 platform with GCC 4.1+
2.
3.

What is the expected output? What do you see instead?
The program will not build, it is not compatible with the new version of 
GCC.

What version of the product are you using? On what operating system?
libjingle-0.3.0
Unable to find ANY cvs or svn repository (on sourceforge or here)
So no way to submit any patches.



Original issue reported on code.google.com by [email protected] on 5 Aug 2006 at 10:09

I am implementing a client for Linux, you might wanna take a look

Hello Guys

I am implementing a gtalk client for Linux, called gtalX. Here is the 
project:

http://jozsef.bekes.googlepages.com/gtalx_contents

A modified version of libjingle is also included in my app. I have fixed 
some probelms and I am trying to improve the code of libjingle. E.g. I 
have upgraded the underlying mediastreamer library, and I have fixed some 
bugs, I am also adding some features. If you are struggling with this 
code, you might want to take a look at this app.

You can contact me here:

bjdodo_a_t_hotmail_d_o_t_com.

Thanks,
Jozsi

Original issue reported on code.google.com by [email protected] on 5 Aug 2008 at 1:31

"make" command gives an error

What steps will reproduce the problem?
1. ./configure 
2. make
3.

What is the expected output? What do you see instead?
Should complete without errors

What version of the product are you using? On what operating system?
libjingle 0.4.0, expat 2.0.1, gtk 2.0 on Debian 2.6.25

Please provide any additional information below.
make  all-recursive
make[1]: Entering directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
Making all in talk
make[2]: Entering directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk'
make[3]: Entering directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
make[3]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
Making all in base
make[3]: Entering directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk/base'
make[4]: Entering directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
make[4]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I../.. `pkg-config --cflags gtk+-2.0`    -DPOSIX -g -O2
-MT socketaddress.lo -MD -MP -MF ".deps/socketaddress.Tpo" -c -o
socketaddress.lo socketaddress.cc; \
        then mv -f ".deps/socketaddress.Tpo" ".deps/socketaddress.Plo";
else rm -f ".deps/socketaddress.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I../.. `pkg-config --cflags gtk+-2.0`    -DPOSIX -g -O2
-MT time.lo -MD -MP -MF ".deps/time.Tpo" -c -o time.lo time.cc; \
        then mv -f ".deps/time.Tpo" ".deps/time.Plo"; else rm -f
".deps/time.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I../.. `pkg-config --cflags gtk+-2.0`    -DPOSIX -g -O2
-MT asyncudpsocket.lo -MD -MP -MF ".deps/asyncudpsocket.Tpo" -c -o
asyncudpsocket.lo asyncudpsocket.cc; \
        then mv -f ".deps/asyncudpsocket.Tpo" ".deps/asyncudpsocket.Plo";
else rm -f ".deps/asyncudpsocket.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I../.. `pkg-config --cflags gtk+-2.0`    -DPOSIX -g -O2
-MT messagequeue.lo -MD -MP -MF ".deps/messagequeue.Tpo" -c -o
messagequeue.lo messagequeue.cc; \
        then mv -f ".deps/messagequeue.Tpo" ".deps/messagequeue.Plo"; else
rm -f ".deps/messagequeue.Tpo"; exit 1; fi
In file included from messagequeue.cc:40:
../../talk/base/messagequeue.h: In constructor 'talk_base::Message::Message()':
../../talk/base/messagequeue.h:121: error: 'memset' was not declared in
this scope
make[3]: *** [messagequeue.lo] Error 1
make[3]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
make: *** [all] Error 2


Original issue reported on code.google.com by [email protected] on 29 Jul 2008 at 3:46

libjingle contains GPL files, making the BSD license invalid

PROBLEM DESCRIPTION
We checked the Licenses in libjingle; we discover that libjingle won't
compile without this two files: 

libjingle-0.3.11/talk/session/phone/linphonemediaengine.cc
libjingle-0.3.11/talk/session/phone/linphonemediaengine.h

which are GPLv2. 

Since libjingle can't be compiled without those, that makes libjingle
GPLv2, nor BSD License.

What version of the product are you using? On what operating system?
libjingle 0.3.11

Please provide any additional information below.
Bug in SUSE: 

https://bugzilla.novell.com/show_bug.cgi?id=356619 

Original issue reported on code.google.com by [email protected] on 4 Mar 2008 at 7:16

alsa_card_can_read will fail with EPIPE

What steps will reproduce the problem?
1. if alsa_card_can_read fails it will fail for ever.
2.
3.

What is the expected output? What do you see instead?
The expected output is it alsa_card_can_read should recover from xrun
condition by calling snd_pcm_prepare.
below is the patch which i have used in my code. and it is the expected one.
 gboolean alsa_card_can_read(AlsaCard *obj)
 {
         int frames,err;
         g_return_val_if_fail(obj->read_handle!=NULL,0);
         if (obj->readpos!=0)
                 return TRUE;
         frames=snd_pcm_avail_update(obj->read_handle);
 //     printf("frames=%i\n",frames);
         if(frames==-EPIPE)
         {/* Overrun COndition*/
                 err=snd_pcm_prepare(obj->read_handle);
                 if(err<0)
                 {
                         printf("Cant recover form XRun\n");
                         return FALSE;
                 }
                 return TRUE;/* Only Next read attempt will trigger the
 driver to start capturing CAN BE DONE BETTER*/
         }else if(frames <=0)
         {/* Opps! something seriously worng, that cant be handled by
 the app*/
                 return FALSE;

         }else if(frames >= obj->frames)
         {
                 return TRUE;
         }
         return FALSE;
 }


What version of the product are you using? On what operating system?
0.4.0

Please provide any additional information below.
Conditions:
We are using alsa card.
Lets say we are reading from data from card ms_oss_read_process, this will
first call alsa_card_can_read. If say this fails because of xrun condition
then it will fail always and we need to recover out of it by calling 
snd_pcm_prepare function.


Original issue reported on code.google.com by [email protected] on 14 Mar 2007 at 5:02

Libjingle call reject issue

What steps will reproduce the problem?
1. From demo application "call", dial remote account.
2. Remote windows gtalk ignore this call.


What is the expected output? What do you see instead?
"call" application crash.

What version of the product are you using? On what operating system?
Libjingle 0.4.0 on Linux.

Please provide any additional information below.
Attach my patch on libjingle-0.4.0/talk/session/phone/linphonemediaengine.cc

Original issue reported on code.google.com by [email protected] on 21 Jan 2009 at 9:41

Attachments:

Problem with compiling -- sigslot

What steps will reproduce the problem?
1. After patch libjingle according to this link: http://
code.google.com/p/libjingle/issues/detail?id=2 I try to compile. 

What is the expected output? What do you see instead?
../third-party/libjingle/talk/base/sigslot.h:647: error: no 
matching function for call to 
‘std::list<sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*, 
std::allocator<sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*> >::push_back(int*)’
/usr/include/c++/4.1.2/bits/stl_list.h:760: note: candidates are: 
void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = 
sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*, _Alloc = 
std::allocator<sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*>]
../third-party/libjingle/talk/base/sigslot.h: In member function 
‘void sigslot::_signal_base1<arg1_type, 
mt_policy>::slot_duplicate(const sigslot::has_slots<mt_policy>*, 
sigslot::has_slots<mt_policy>*) [with arg1_type = 
cricket::AsyncSocket*, mt_policy = sigslot::single_threaded]’:
jinglevoicecaller.cpp:385:   instantiated from here
../third-party/libjingle/talk/base/sigslot.h:647: error: no 
matching function for call to 
‘std::list<sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*, 
std::allocator<sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*> >::push_back(int*)’
/usr/include/c++/4.1.2/bits/stl_list.h:760: note: candidates are: 
void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = 
sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*, _Alloc = 
std::allocator<sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*>]


What version of the product are you using? On what operating system?
libjingle 0.4, gcc 4.1, openSUSE 10.2 on KDE

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Jul 2007 at 10:19

cannot login using 'call' from examples

1. libjingle-0.4.0, patch gcc4.patch, gcc 4.2.2, speex-1.2_beta2,
openssl-0.9.8g
2. ./configure --prefix=/usr/local --with-speex=/usr --with-ilbc=/usr ; make
3. talk/examples/call/call -d

JID: [email protected]
Password:
=== DNS RESOLUTION (talk.google.com) ===
talk.google.com resolved to 209.85.137.125
Logging in as [email protected]

Available commands:

  roster       Prints the online friends from your roster.
  call <name>  Initiates a call to the friend with the given name.
  quit         Quits the application.

(call) OpenSSLAdapter::OnConnectEvent
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Dec 13 21:38:02 2007
   <stream:stream to="gmail.com" xml:lang="*" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">

logging in...
(call) RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Dec 13 21:38:02 2007
   <?xml version="1.0" encoding="UTF-8"?>
     <stream:stream from="gmail.com" id="A98AA8981D6845B2" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Dec 13 21:38:02 2007
   <stream:features>
     <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls">
       <required/>
     </starttls>
     <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
       <mechanism>
         X-GOOGLE-TOKEN
       </mechanism>
     </mechanisms>
   </stream:features>
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Dec 13 21:38:02 2007


   <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Dec 13 21:38:02 2007
   <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
BeginSSL: gmail.com
ContinueSSL
 -- error want read
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Dec 13 21:38:02 2007
   <stream:stream to="gmail.com" xml:lang="*" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
ContinueSSL
 -- error want read

-----------------------------------
and nothing happens - no connection

Original issue reported on code.google.com by [email protected] on 13 Dec 2007 at 6:46

Mingw port available

Done. I have uploaded a clean mingw + libjingle and dependecies to esnips:
the mingw install already have mediastreamer, expat en ortp installed.

http://www.esnips.com/doc/9a0dea2f-e9ef-4bb3-871c-26b760a…
http://www.esnips.com/doc/6a4f9b85-ed35-4356-8143-948aebd…
So, have fun :D

Original issue reported on code.google.com by [email protected] on 16 Aug 2007 at 12:16

Can not send file

What steps will reproduce the problem?
I compiled successfully the pcp example (the part session/phone is deleted
due to GIPSLITE problem)
Then I run 2 instances


What is the expected output? What do you see instead?
The sender said: waiting for... while the receiver was running and did not
receive anything
I stop my firewall already

What version of the product are you using? On what operating system?
Windows, Visual C++ 2008 Express

Anyone can help?

Best regards

Original issue reported on code.google.com by [email protected] on 15 Dec 2007 at 10:04

std::bad_alloc exception in pcp example

What steps will reproduce the problem?
1. run the pcp example program

What is the expected output? What do you see instead?
The program crashes with std::bad_alloc exception.

What version of the product are you using? On what operating system?
libjingle 0.4
Gentoo Linux 
kernel: 2.6.17-gentoo-r4
x86_64 AMD Opteron
gcc 4.1.1

Please provide any additional information below.
The problem is in talk/base/httpbase.cc
bool HttpParser::process_line()

if (MatchHeader(line, nlen, HH_CONTENT_LENGTH)) {
        if (sscanf(value, "%d", &data_size_) != 1) {
          err = HE_PROTOCOL;
          break;
        }
}

data_size_ won't be correct. 
The following code works fine.

if (MatchHeader(line, nlen, HH_CONTENT_LENGTH)) {
        unsigned int temp_size;
        if (sscanf(value, "%d", &temp_size) != 1) {
          err = HE_PROTOCOL;
          break;
        }
        data_size_=temp_size;
}

Original issue reported on code.google.com by [email protected] on 31 Jul 2007 at 9:10

pcp example is disconnected after a while. and does not reconnect

What steps will reproduce the problem?
1. running the pcp example
2.
3.
The problem is that it gets logged out after some time(not constant, so no
issue of a timeout here). Is there some way to check if it is disconnected
and reconnect again. I tried calling the PresenceOutTask method on a
separate thread every minute after defining an OnDisconnect method inside
it but it gives a segfault when i try 
presence_out_->Start();

Any help?


Original issue reported on code.google.com by [email protected] on 10 Nov 2008 at 11:39

error in configure.ac logic

What steps will reproduce the problem?
1. compile & install speex to a non-standard location
2. Run the configure script with the --with-speex option

What is the expected output? What do you see instead?
At the end of the script, it lists the supported codecs. The line for speex
indicates that is NOT supported.

The problem is in the configure.ac file, when it tests for the existence of
the speex includes & libraries. It doesn't set the CPPFLAGS and LDFLAGS at
the right time, before the test.

Attached is my diff for updating the configure.ac file to work correctly. I
basically copied the logic used for testing the iLBC libraries.

If you install speex to the standard location (/usr), then you will not
have this problem, because the standard CPPFLAGS and LDFLAGS will work for you.

Original issue reported on code.google.com by mattwinter on 16 Nov 2007 at 4:59

Attachments:

Division by zero bug

When I start debugging of pcp example application and trying to transfer
file from local computer to local computer with 2 instances of programm I
get integer division by zero error.

Problem is in httpportallocator.cc file:

void HttpPortAllocatorSession::GetPortConfigurations() {

  if (attempts_ == kNumRetries) {
    LOG(WARNING) << "HttpPortAllocator: maximum number of requests reached";
    return;
  }

  // Choose the next host to try.
  std::string host = relay_hosts_[attempts_ % relay_hosts_.size()];

    ^^^^^

Last line gives this error. Can you tell me what is wrong?What version of
the product are you using? On what operating system?


VS 2008, winxp home, libjingle-0.4.0

Original issue reported on code.google.com by [email protected] on 17 Mar 2009 at 1:27

File System Example Broken when running client and server on same host under Linux

What steps will reproduce the problem?
1. Compile the pcp application using GNU autotools
2. hostA:someDir>pcp -d 
3. hostA:someOtherDir>pcp -d 

What is the expected output? What do you see instead?
The expected output is that the file is transferred from client to server.
The actual output is "Get temp failed."

What version of the product are you using? On what operating system?
libjingle 4.0
Linux Ubuntu 2.6.17-11 (edgy)
gcc 4.1.12

Please provide any additional information below.

Solution:
Update unixfilesystem.cc, line 108 from:
pathname.SetPathname("/tmp");
to
pathname.SetPathname("/tmp/");

Original issue reported on code.google.com by [email protected] on 20 Feb 2007 at 3:22

xmpptask.h has a typo

line 96 reads:

  virtual int ProcessReponse() { return STATE_DONE; }

It's missing an 's' -- I believe the name of that method should be
ProcessResponse()

Original issue reported on code.google.com by mattwinter on 22 Jan 2008 at 6:53

Unable compile source code with VS.net 2005

Guys, I have downloaded libjingle source code, and had try to compile it 
with VS.net 2005, but there are some error message have prompted below:

error   1   fatal error C1083: Cannot open include 
file: 'talk/third_party/gips/Interface/GipsVoiceEngineLite.h': No such 
file or directory   d:\tddownload\libjingle-0.4.0
\talk\session\phone\gipslitemediaengine.h   33  


error   3   fatal error C1083: Cannot open include file: 'netfw.h': No 
such file or directory  d:\tddownload\libjingle-0.4.0
\talk\base\winfirewall.cc   29  

......


anybody who can give some suggestions?

any reply is appreciate.

Original issue reported on code.google.com by [email protected] on 12 Apr 2007 at 6:22

Linker error when building a sample file (LNK2001, LNK2019)

What steps will reproduce the problem?
1. build my attached source against libjingle.lib using VC++ 2008
2.
3.

What is the expected output? What do you see instead?
I see 4 link time errors, one of them:
Error   5   error LNK2001: unresolved external symbol "public: virtual 
int __thiscall buzz::PresenceOutTask::ProcessStart(void)" (?
ProcessStart@PresenceOutTask@buzz@@UAEHXZ)  MyFirstLibjingleApp.obj
    MyFirstLibjingleApp


What version of the product are you using? On what operating system?
libjingle 0.4.0
Visual C++ 2008 Team System
Windows Vista SP1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Sep 2008 at 10:32

Attachments:

Hangs on startup

The missing initialization of the mutex attr (see:
https://sourceforge.net/tracker/index.php?func=detail&aid=1400454&group_id=15509
4&atid=794430)
not only breaks NetBSD, but also Linux (at least my Ubuntu setup here).

Original issue reported on code.google.com by android%[email protected] on 18 Mar 2007 at 2:35

fileshare.cc compile error

Version 0.4.0

fileshare.cc:678: error: no matching function for call to '_min(unsigned
int&, const size_t&)'
fileshare.cc:679: error: no matching function for call to '_min(unsigned
int&, const size_t&)'

Attached patch

Original issue reported on code.google.com by [email protected] on 22 Jun 2007 at 9:17

Attachments:

crash with floating point exception in pcp example

What steps will reproduce the problem?
1. use a jabber server without relay servers
2. two hosts trying to use relay servers
3. try to share some files

What is the expected output? What do you see instead?
The file should get somehow to the other user, since it's not possible at
least don't crash.

What version of the product are you using? On what operating system?
0.4.0
Ubuntu Feisty Fawn
kernel: 2.6.20-14
gcc 4.1.2

Please provide any additional information below.

problem in: httpportallocator.cc around line 118
std::string host = relay_hosts_[attempts_ % relay_hosts_.size()];
Without relay servers causes dividing with zero.

Original issue reported on code.google.com by [email protected] on 22 Jul 2007 at 2:15

  • Merged into: #44

pcp example cannot send files not in working directory

What steps will reproduce the problem?
1. run the pcp example
2. as the file specify a file not in the working directory

What is the expected output? What do you see instead?
the file should be transmitted. (when a file in the local folder is given, 
it correctly transmits). but when a file in a different folder is specified 
, the transmission fails. (this happens even if we give the file name in 
absolute or relative formats.)

What version of the product are you using? On what operating system?
libjingle-0.4.0 windows XP (compiled using visual studio express 2008)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Aug 2009 at 10:52

pcp crash with "invalid allocation size..." (even on non-64 bit machine)

it is caused by no "content-length" in the HTTP response header

Connection: close
Content-Type: text/plain
Date: Mon, 24 Nov 2008 06:44:22 GMT
Server: MediaProxy
Cache-Control: private, x-gzip-ok=""

relay.ip=209.85.201.126
...............

walk-around:
in httpbase.ccc, HttpParser::process_line() function:

state_ = chunked_ ? ST_CHUNKSIZE : ST_DATA;
err = onHttpRecvHeaderComplete(chunked_, data_size_); 

add a new line of code:

state_ = chunked_ ? ST_CHUNKSIZE : ST_DATA;
if (data_size_ == SIZE_UNKNOWN) data_size_ = 1024;//just assign a size
err = onHttpRecvHeaderComplete(chunked_, data_size_); 

Original issue reported on code.google.com by [email protected] on 24 Nov 2008 at 2:22

Unable to build due to following errors.

Error   1   fatal error C1083: Cannot open include file:
'talk/third_party/gips/Interface/GipsVoiceEngineLite.h': No such file or
directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\session\phone\gipslitemediaeng
ine.h
33  

Error   2   fatal error C1083: Cannot open include file:
'talk/third_party/gips/Interface/GipsVoiceEngineLite.h': No such file or
directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\session\phone\gipslitemediaeng
ine.h
33  

Error   3   fatal error C1083: Cannot open include file: 'netfw.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\base\winfirewall.cc   29  

Error   4   fatal error C1083: Cannot open include file: 'expat.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\xmpp\xmppstanzaparser.cc  28  

Error   5   fatal error C1083: Cannot open include file: 'expat.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\xmllite\xmlparser.h   32  

Error   6   fatal error C1083: Cannot open include file: 'expat.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\xmllite\xmlparser.h   32  

Error   7   fatal error C1083: Cannot open include file: 'expat.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\xmllite\xmlparser.h   32  

Error   8   fatal error C1083: Cannot open include file: 'expat.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\xmllite\xmlparser.h   32  

Error   9   fatal error C1083: Cannot open include file: 'expat.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\xmllite\xmlparser.h   32  

Error   10  fatal error C1083: Cannot open include file: 'expat.h': No such
file or directory
d:\libjingle\libjingle-0.4.0\libjingle-0.4.0\talk\xmllite\xmlbuilder.cc 31  

Error   11  fatal error LNK1104: cannot open file 'libexpatMT.lib'  call    


Original issue reported on code.google.com by [email protected] on 17 Dec 2008 at 7:04

error LNK1104: cannot open file 'libexpatMT.lib'

What steps will reproduce the problem?

1. I've upgraded the project to be VS2008 compatible (I'm using Visual 
Studio 2008 on my PC)
2. Adding dependencies and directories to the linker
3. It throws me an error, indicating that the libexpatMT library cannot be 
found, so I decided to move it to the root folder of the project
4. The found problem is solved, but now it throws me +200 errors, all have 
"unresolved externals symbols" 

I cannot compile my solution, can you give me any help?

Thanks,
Gonzalo


Original issue reported on code.google.com by [email protected] on 7 Oct 2009 at 2:53

Bunch of errors with cryptstring.h

What steps will reproduce the problem?
1. ./configure
2. make


What is the expected output? What do you see instead?
Bunch of errors.

What version of the product are you using? On what operating system?
libjingle 0.4.0

Please provide any additional information below.
Output of Make :

In file included from ../../../talk/examples/login/xmppauth.h:33,
                 from xmppauth.cc:29:
../../../talk/base/cryptstring.h:43: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:56: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:74: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:92: error: expected unqualified-id before
'&' token
../../../talk/base/cryptstring.h:92: error: expected ',' or '...' before
'&' token
../../../talk/base/cryptstring.h: In member function 'void
talk_base::FormatCryptString::Append()':
../../../talk/base/cryptstring.h:93: error: 'text' was not declared in this
scope
../../../talk/base/cryptstring.h: At global scope:
../../../talk/base/cryptstring.h:165: error: ISO C++ forbids declaration of
'string' with no type
../../../talk/base/cryptstring.h:165: error: invalid use of '::'
../../../talk/base/cryptstring.h:165: error: expected ';' before '&' token
../../../talk/base/cryptstring.h:166: error: expected `;' before 'const'
../../../talk/base/cryptstring.h:166: error: ISO C++ forbids declaration of
'string' with no type
../../../talk/base/cryptstring.h:166: error: invalid use of '::'
../../../talk/base/cryptstring.h:166: error: expected ';' before '&' token
../../../talk/base/cryptstring.h:168: error: expected `;' before 'virtual'
../../../talk/base/cryptstring.h:174: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h:181: error: 'string' in namespace 'std'
does not name a type
../../../talk/base/cryptstring.h: In member function 'virtual size_t
talk_base::InsecureCryptStringImpl::GetLength() const':
../../../talk/base/cryptstring.h:169: error: 'password_' was not declared
in this scope
../../../talk/base/cryptstring.h: In member function 'virtual void
talk_base::InsecureCryptStringImpl::CopyTo(char*, bool) const':
../../../talk/base/cryptstring.h:171: error: 'password_' was not declared
in this scope
../../../talk/base/cryptstring.h: In member function 'virtual
talk_base::CryptStringImpl* talk_base::InsecureCryptStringImpl::Copy() const':
../../../talk/base/cryptstring.h:177: error: 'class
talk_base::InsecureCryptStringImpl' has no member named 'password'
../../../talk/base/cryptstring.h:177: error: 'password_' was not declared
in this scope
In file included from xmppauth.cc:31:
../../../talk/xmpp/saslplainmechanism.h: In member function 'virtual
buzz::XmlElement* buzz::SaslPlainMechanism::StartSaslAuth()':
../../../talk/xmpp/saslplainmechanism.h:51: error: no matching function for
call to 'talk_base::FormatCryptString::Append(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
../../../talk/base/cryptstring.h:92: note: candidates are: void
talk_base::FormatCryptString::Append()
../../../talk/base/cryptstring.h:96: note:                 void
talk_base::FormatCryptString::Append(const char*, size_t)
../../../talk/base/cryptstring.h:103: note:                 void
talk_base::FormatCryptString::Append(const talk_base::CryptString*)
make[4]: *** [xmppauth.lo] Error 1
make[4]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk/examples/login'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0/talk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naresh/Desktop/Offline
Module/libjingle-0.4.0'
make: *** [all] Error 2

Original issue reported on code.google.com by [email protected] on 31 Jul 2008 at 11:35

Fails to build from source on linux

What steps will reproduce the problem?
1. Try to build libjingle 0.4

What is the expected output? What do you see instead?
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../..  -DPOSIX -D_REENTRANT -DORTP_INET6   
-I../../../talk/third_party/mediastreamer -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include -I/usr/include/speex  -g -O2
-MT linphonemediaengine.lo -MD -MP -MF ".deps/linphonemediaengine.Tpo" -c
-o linphonemediaengine.lo linphonemediaengine.cc; \
        then mv -f ".deps/linphonemediaengine.Tpo"
".deps/linphonemediaengine.Plo"; else rm -f
".deps/linphonemediaengine.Tpo"; exit 1; fi
linphonemediaengine.cc: In member function 'virtual void
cricket::LinphoneMediaChannel::SetCodecs(const std::vector<Codec,
std::allocator<Codec> >&)':
linphonemediaengine.cc:83: error: 'speex_wb' was not declared in this scope
linphonemediaengine.cc:85: error: 'speex_nb' was not declared in this scope
linphonemediaengine.cc:91: error: 'pcmu8000' was not declared in this scope
linphonemediaengine.cc:93: error: 'telephone_event' was not declared in
this scope


What version of the product are you using? On what operating system?
svn info
Path: .
URL: http://libjingle.googlecode.com/svn/trunk
Repository Root: http://libjingle.googlecode.com/svn
Repository UUID: 71106dab-8519-0410-9389-e36bf2bdbbd6
Revision: 7
Node Kind: directory
Schedule: normal
Last Changed Author: seanegan
Last Changed Rev: 7
Last Changed Date: 2007-02-08 01:08:50 +0300 (Thu, 08 Feb 2007)

On Debian Linux etch.
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Jan 2008 at 9:00

FD_Connect_Bit error. Is there any solution.

What steps will reproduce the problem?
1. Run PCP


What is the expected output? What do you see instead?
Error FD_Connect_Bit 10060

What version of the product are you using? On what operating system?
Windows XP
ISA

Please provide any additional information below.
Is there any solution to this.

Original issue reported on code.google.com by [email protected] on 22 Sep 2008 at 7:56

Error while making a call to my roster

I am using call.exe application on Windows 2000 Server machine. I am 
successful in retrieving the roster list. But when I make call 
using 'call' command, I am getting the following error as shown in the 
attached file.

I am using libjingle-0.4.0, Expat 2.0.1, VELite libraries and Visual 
Studio 2005.

Please help to solve this problem

Original issue reported on code.google.com by [email protected] on 24 Jul 2008 at 12:57

Attachments:

The Efficiency of talk_base::PhysicalSocketServer::Wait()

Hi,
Every time we issue "talk_base::PhysicalSocketServer::Wait()", it checks
and then select the net events of all SocketDispathers to one event object.

I wonder :
1.If the effciency will be poor when I use a work thread which derived from 
  class talk_base::Thread to trasmit some stream data such as Video.

2.When a PhysicalSocketServer object has more SocketDispather, that each
one  has some "NetEvents" to be notified from its Socket handle, Will all
of the events be CORRECTLY signaled when "Wait()" selects them on one event
object?

thanks

Achilles

Original issue reported on code.google.com by [email protected] on 22 Apr 2009 at 7:28

Bounds checking error in talk_base::UrlEncode

what I found is a bug in the source code.

in file:urlencode.cc 

function of urlencode, programmer forget ++len, take a look under below.

int UrlEncode(const char *source, char *dest, unsigned max)  
{
  static const char *digits = "0123456789ABCDEF";
  unsigned char ch;
  unsigned len = 0;
  char *start = dest;

  while (len < max - 4 && *source)
  {
    ch = (unsigned char)*source;
    if (*source == ' ') {
      *dest++ = '+';
    }
    else if (isalnum(ch) || strchr("-_.!~*'()", ch)) {
      *dest++ = *source;
    }
    else {
      *dest++ = '%';
      *dest++ = digits[(ch >> 4) & 0x0F];
      *dest++ = digits[       ch & 0x0F];
    }  
    source++;
    ///////////////////
    //should ++len, otherwise if lens of dest less than source, memory
    //will overwrite.
  }
  *dest = 0;
  return start - dest;
}

Original issue reported on code.google.com by [email protected] on 26 Mar 2009 at 1:48

Call reject issue

What steps will reproduce the problem?
1. Start examples program "call" and call remote 
2. Reject/Ignore call on remote side
3. "call" crash

What version of the product are you using? On what operating system?
libjingle-0.4.0 on Linux.

Please provide any additional information below.
The root cause locates in libjingle/talk/session/phone/linphonemediaengine.cc,
about line 67. Please see my patch in the attachment.




Original issue reported on code.google.com by [email protected] on 20 Jan 2009 at 10:20

Attachments:

vs 2005 complie error

What steps will reproduce the problem?
错误  75  error LNK2019: 无法解析的外部符号 "public: void __thiscall
cricket::Call::Mute(bool)" (?Mute@Call@cricket@@QAEX_N@Z),该符号在函数
"public: void __thiscall CallClient::ParseLine(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?ParseLine@CallClient@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocato
r@D@2@@std@@@Z)
中被引用    callclient.obj  


What version of the product are you using? On what operating system?
libjingle-0.4.0
vs 2005



Original issue reported on code.google.com by [email protected] on 12 Jun 2007 at 2:01

project "call" cannot build on VS2005

What steps will reproduce the problem?
1. build the solution
2.
3.

What is the expected output? What do you see instead?
one-shot build should succeed.

What version of the product are you using? On what operating system?
windows xp sp2
visual studio 2005 professional
libjingle-0.4.0

Please provide any additional information below.

project "call" cannot link because there are many unresolved symbols.
e.g. talk_base::FileTimeToUnixTime

I'm wondering if that's caused by some missing .c/.cc source files.
if so, could those files be dropped to the svn depot???

To be honest, I'm very disappointed with the libjingle library!!
I spent couples of hours to try to figure the build out. But ......

SOS!

Original issue reported on code.google.com by [email protected] on 26 Jul 2008 at 5:23

*super useful* Here are all of my patches

If you happen to look at a few of the previously submitted issues, you
might see that I have replied with a few different patch files to solve
various problems. Below is a list of all of the patches, and a description
of what each does. To apply any of the patches, simply cd into your
libjingle-0.4.0 directory, and run:

patch -p1 < [something].patch

*** 64-bit.patch ***
  The call to sscanf in talk/base/httpbase.cc reads a "%d" into a size_t
variable (data_size_). However, on a 64-bit platform, this will result in
data corruption, because the sscanf is only setting the lowest 32 bits of a
64 bit value. This patch has sscanf read to an unsigned int, and then
copies that value into the size_t variable. NOTE: applying this patch does
NOT break libjingle on 32 bit stuff.

*** ortp.patch ***
  This patch makes it possible to use oRTP libraries newer than version
0.7.1 (like the current one, 0.13.1). NOTA BENE: applying this patch will
*require* you to upgrade to a newer version of oRTP, because it is not
backwards compatible. Download ortp from:
http://download.savannah.nongnu.org/releases/linphone/ortp/sources/

*** gcc4.patch ***
  This was referenced in Issue #2. For a nice description of this
particular gcc4 change, check this page:
http://www.fourmilab.ch/fourmilog/archives/2006-05/000699.html

*** libjingle-fileshare.patch ***
  This patch was copied from issue #11. It deals with template
specification issues.

*** mutex.patch ***
  This patch fixes issue #7

Hope this helps somebody!

I just applied all of these patches to a freshly extracted source tarball,
configured & compiled without error. Let me know if you get anything different.

Original issue reported on code.google.com by mattwinter on 14 Nov 2007 at 7:22

Attachments:

Enter one-line summary

What steps will reproduce the problem?
1. Building on x86-64 platform with GCC 4.1+
2.
3.

What is the expected output? What do you see instead?
The program will not build, it is not compatible with the new version of 
GCC.

What version of the product are you using? On what operating system?
libjingle-0.3.0
Unable to find ANY cvs or svn repository (on sourceforge or here)
So no way to submit any patches.



Original issue reported on code.google.com by [email protected] on 5 Aug 2006 at 9:58

relay server , key of libjingle ?

pcp not working , if no google's relay server working .

so , is a relay server must exist for libjingle ?

if I don't want to use relay and stun server of google,how can I run pcp in
libjingle ?

-_-, seems not "open" enough.

Original issue reported on code.google.com by [email protected] on 15 Jul 2009 at 6:26

my call.exe ( in libjingle 0.4 / talk/debug) doesn't work well.

hi ,could you help me with libjingle call
i meet th e following error ,how to resolve?
 vc++2005 ,win2003 server,Rsing firwall,libjingle 0.4 

when execute the call.exe,
my error message is :

JID:[email protected]
Password:
===DNS RESOLUTION<talk.google.com>===
talk.google.com resolved to 72.14.253.125
Logging in as [email protected]
Available commands:
roster  Prints the online frinends from your roster.
call <name> Initiates a call to the friends with the given name.
quit Quit the application.
<call> Warning<PhysicalSocketServer.cc:1072>:PhysicalSocketServer got 
FD_CONNECT_BIT 
error 10060

is there a solution?
thanks

Original issue reported on code.google.com by [email protected] on 28 May 2008 at 1:26

libjingle_call :error 10060

vc++2005 ,win2003 server,Rsing firwall,libjingle 0.4 

when execute the call.exe,
my error message is :
JID:[email protected]
Password:
===DNS RESOLUTION<talk.google.com>===
talk.google.com resolved to 72.14.253.125
Logging in as [email protected]
Available commands:
roster  Prints the online frinends from your roster.
call <name> Initiates a call to the friends with the given name.
quit Quit the application.
<call> Warning<PhysicalSocketServer.cc:1072>:PhysicalSocketServer got 
FD_CONNECT_BIT 
error 10060


is there a solution?
thanks



Original issue reported on code.google.com by [email protected] on 28 May 2008 at 12:47

Trying to implement a bot using libjingle

What steps will reproduce the problem?
1. Sending a bunch of messages at once. I am sending approximately 1000

What is the expected output? What do you see instead?
Every time i send 1000 odd messages, only a portion of those messages are
sent. The rest are just dropped. 

What version of the product are you using? On what operating system?
libjingle 0.4.0, Ubuntu

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 Oct 2008 at 5:45

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.