aMSN Forums
May 23, 2013, 08:58:33 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: 1 ... 12 13 [14] 15 16 ... 46
  Print  
Author Topic: Audio/Video conversation  (Read 369954 times)
db2912
Newbie

Offline Offline

Posts: 4


View Profile
« Reply #195 on: August 12, 2008, 09:53:22 am »

Hello,

Eventually I succeded in compiling libnice.
The issue was due to a bad version of libtool : I had to come back to libtool 1.5.26 in order to fix the problem.

I installed farsight2 as well and amsn has recognised farsight2 while compiling.

However, like m33ts4k0z, the audio/video assistant still says that farsight is not correctly installed.

After Ctrl+Shift+C, I obtain :

Code:
(amsn) 1 % package require Farsight
0.1
(amsn) 2 % farsight Prepare 1
Couldn't create fsrtpconference
(amsn) 3 %


I am sure I didn't forget the --prefix=/usr and I have the last version of each dependencies.

What's wrong again ?
Logged
muratasenel
Newbie

Offline Offline

Posts: 13


View Profile
« Reply #196 on: August 12, 2008, 12:46:30 pm »

Quote from: "m33ts4k0z"

Code:
(amsn) 4 % package require Farsight
0.1
(amsn) 5 % farsight Prepare 1
Error while creating new session (0): Could not create GstRtpBin



I assume the reason is that gst-plugins-farsight is not compiled with "--enable-jrtplib".
You can try to re-compile gst-plugins-farsigh with --enable-jrtplib parameter. But not sure if it works...
Logged
m33ts4k0z
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #197 on: August 12, 2008, 01:12:13 pm »

Quote from: "muratasenel"
Quote from: "m33ts4k0z"

Code:
(amsn) 4 % package require Farsight
0.1
(amsn) 5 % farsight Prepare 1
Error while creating new session (0): Could not create GstRtpBin



I assume the reason is that gst-plugins-farsight is not compiled with "--enable-jrtplib".
You can try to re-compile gst-plugins-farsigh with --enable-jrtplib parameter. But not sure if it works...


Thanks for you reply mate but no this didn't do the trick.

Btw, last night I used a deb package with the version 0.12.9 of the farsight plugin and I could see it in the synaptic. Now that I compiled from source myself I can't see it there anymore. Is that a problem meaning that it's not installed?

EDIT: From the terminal I also get the following error:
Code:
(<unknown>:15947): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class != NULL' failed
Logged
jzhou
Newbie

Offline Offline

Posts: 1


View Profile
« Reply #198 on: August 24, 2008, 03:11:45 pm »

I am using the last svn amsn and farsight2, and yet I got these outputs when initiating an audio conversation. Surprisingly video conversation is fine.

--------------------------------------------------------
can't read "sdp": no such variable
    while executing
"return $sdp"
    (procedure "::SIPConnection::Snit_methodBuildIceCandidates" line 17)
    invoked from within
"$self BuildIceCandidates $local $remote"
    (procedure "::SIPConnection::Snit_methodBuildSDP" line 34)
    invoked from within
"$self BuildSDP"
    ("OK" arm line 4)
    invoked from within
"switch -- $status {
         "RINGING" {
            set status 180
            set content_type ""
            set content ""
         }
         "UNAVAILABLE" {
            set status 480
            set co..."
    (procedure "::SIPConnection::Snit_methodAnswerInvite" line 6)
    invoked from within
"$sip AnswerInvite $callid OK"
    (procedure "::MSNSIP::AcceptInvite" line Cool
    invoked from within
"::MSNSIP::AcceptInvite $sip $callid"
    (procedure "::amsn::AcceptSIPCall" line 24)
    invoked from within
"::amsn::AcceptSIPCall xxx@sad-amsn-user.com ::MSNSIP::SIPConnection1 ae5eccb5e228452e9580067561ba850d"
    (command bound to event)
-----------------------------------------------
My system is Archlinux x86_64
Logged
MastaG
Power user
*
Offline Offline

Posts: 65


View Profile
« Reply #199 on: August 26, 2008, 12:56:58 pm »

When I checkout the latest libnice git tree with:
git clone git://git.collabora.co.uk/git/user/kakaroto/nice.git libnice
I configure it with:
autoreconf -vfi
./configure --prefix=/usr
But when I try to build it, it will fail with:
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -std=gnu99 -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -I/usr/kerberos/include -g -O2 -MT stun-ice.lo -MD -MP -MF .deps/stun-ice.Tpo -c stun-ice.c -o stun-ice.o >/dev/null 2>&1
mv -f .deps/stun-ice.Tpo .deps/stun-ice.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99 -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -I/usr/kerberos/include   -g -O2   -o libstun.la  stunsend.lo stunrecv.lo utils.lo unknown.lo crc32.lo hmac.lo timer.lo trans.lo bind.lo stun-ice.lo -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz   -lrt
ar cru .libs/libstun.a .libs/stunsend.o .libs/stunrecv.o .libs/utils.o .libs/unknown.o .libs/crc32.o .libs/hmac.o .libs/timer.o .libs/trans.o .libs/bind.o .libs/stun-ice.o
ranlib .libs/libstun.a
creating libstun.la
(cd .libs && rm -f libstun.la && ln -s ../libstun.la libstun.la)
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -std=gnu99 -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -I/usr/kerberos/include   -g -O2 -MT stund.o -MD -MP -MF .deps/stund.Tpo -c -o stund.o stund.c
stund.c: In functie ‘listen_socket’:
stund.c:132: fout: ‘INT_MAX’ undeclared (first use in this function)
stund.c:132: fout: (Each undeclared identifier is reported only once
stund.c:132: fout: for each function it appears in.)
make[4]: *** [stund.o] Fout 1
make[4]: Map '/home/mastag/src/libnice/stun' wordt verlaten
make[3]: *** [all-recursive] Fout 1
make[3]: Map '/home/mastag/src/libnice/stun' wordt verlaten
make[2]: *** [all] Fout 2
make[2]: Map '/home/mastag/src/libnice/stun' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/home/mastag/src/libnice' wordt verlaten
make: *** [all] Fout 2

I think I have all dependencies installed.
Do I need the latest git? or some branch?
Logged
MastaG
Power user
*
Offline Offline

Posts: 65


View Profile
« Reply #200 on: August 26, 2008, 01:07:12 pm »

Quote from: "MastaG"
When I checkout the latest libnice git tree with:
git clone git://git.collabora.co.uk/git/user/kakaroto/nice.git libnice
I configure it with:
autoreconf -vfi
./configure --prefix=/usr
But when I try to build it, it will fail with:
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -std=gnu99 -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -I/usr/kerberos/include -g -O2 -MT stun-ice.lo -MD -MP -MF .deps/stun-ice.Tpo -c stun-ice.c -o stun-ice.o >/dev/null 2>&1
mv -f .deps/stun-ice.Tpo .deps/stun-ice.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99 -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -I/usr/kerberos/include   -g -O2   -o libstun.la  stunsend.lo stunrecv.lo utils.lo unknown.lo crc32.lo hmac.lo timer.lo trans.lo bind.lo stun-ice.lo -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz   -lrt
ar cru .libs/libstun.a .libs/stunsend.o .libs/stunrecv.o .libs/utils.o .libs/unknown.o .libs/crc32.o .libs/hmac.o .libs/timer.o .libs/trans.o .libs/bind.o .libs/stun-ice.o
ranlib .libs/libstun.a
creating libstun.la
(cd .libs && rm -f libstun.la && ln -s ../libstun.la libstun.la)
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -std=gnu99 -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -I/usr/kerberos/include   -g -O2 -MT stund.o -MD -MP -MF .deps/stund.Tpo -c -o stund.o stund.c
stund.c: In functie ‘listen_socket’:
stund.c:132: fout: ‘INT_MAX’ undeclared (first use in this function)
stund.c:132: fout: (Each undeclared identifier is reported only once
stund.c:132: fout: for each function it appears in.)
make[4]: *** [stund.o] Fout 1
make[4]: Map '/home/mastag/src/libnice/stun' wordt verlaten
make[3]: *** [all-recursive] Fout 1
make[3]: Map '/home/mastag/src/libnice/stun' wordt verlaten
make[2]: *** [all] Fout 2
make[2]: Map '/home/mastag/src/libnice/stun' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/home/mastag/src/libnice' wordt verlaten
make: *** [all] Fout 2

I think I have all dependencies installed.
Do I need the latest git? or some branch?


Nevermind my stupidity..
Just inserted #include <limits.h> in stun/stund.c and it worked:)
Logged
MastaG
Power user
*
Offline Offline

Posts: 65


View Profile
« Reply #201 on: August 26, 2008, 01:14:40 pm »

After I have built and installed the latest farsight2 git.
amsn wont like the new farsight2?
configure:6872: checking for FARSIGHT2
configure:6881: $PKG_CONFIG --exists --print-errors "\
             farsight2-$GST_MAJORMINOR = $FARSIGHT_REQUIRED"
Requested 'farsight2-0.10 = 0.0.2.1' but version of Farsight2 is 0.0.3.1
configure:6885: $? = 1
configure:6902: $PKG_CONFIG --exists --print-errors "\
             farsight2-$GST_MAJORMINOR = $FARSIGHT_REQUIRED"
Requested 'farsight2-0.10 = 0.0.2.1' but version of Farsight2 is 0.0.3.1
configure:6906: $? = 1
Requested 'farsight2-0.10 = 0.0.2.1' but version of Farsight2 is 0.0.3.1
configure:6937: result: no
Logged
MastaG
Power user
*
Offline Offline

Posts: 65


View Profile
« Reply #202 on: August 26, 2008, 01:26:02 pm »

Quote from: "MastaG"
After I have built and installed the latest farsight2 git.
amsn wont like the new farsight2?
configure:6872: checking for FARSIGHT2
configure:6881: $PKG_CONFIG --exists --print-errors "\
             farsight2-$GST_MAJORMINOR = $FARSIGHT_REQUIRED"
Requested 'farsight2-0.10 = 0.0.2.1' but version of Farsight2 is 0.0.3.1
configure:6885: $? = 1
configure:6902: $PKG_CONFIG --exists --print-errors "\
             farsight2-$GST_MAJORMINOR = $FARSIGHT_REQUIRED"
Requested 'farsight2-0.10 = 0.0.2.1' but version of Farsight2 is 0.0.3.1
configure:6906: $? = 1
Requested 'farsight2-0.10 = 0.0.2.1' but version of Farsight2 is 0.0.3.1
configure:6937: result: no


Someone should change the: FARSIGHT_REQUIRED line in the configure file to: 0.0.3.1
EDIT: Even though farsight2 git is compiled and installed, there seems to be no farsight utility in /usr/bin ?
aMSN also wont start an audio conversation because of that...
Logged
Kreuger
Super Power User
**
Offline Offline

Posts: 204


View Profile WWW
« Reply #203 on: August 26, 2008, 07:39:13 pm »

When I try to run the autogen for libnice, it says
Quote
autoreconf: failed to run aclocal: no such file or directory

This is on my laptop. It worked fine on my desktop.


When I run make on the farsight, I get this
Quote
ec_discovery-fs-rtp-session.Tpo"; exit 1; fi
../../gst/fsrtpconference/fs-rtp-session.c:40:34: error: gst/rtp/gstrtpbuffer.h: No such file or directory
../../gst/fsrtpconference/fs-rtp-session.c:41:35: error: gst/rtp/gstrtcpbuffer.h: No such file or directory
../../gst/fsrtpconference/fs-rtp-session.c: In function ‘_stream_known_source_packet_received’:
../../gst/fsrtpconference/fs-rtp-session.c:1266: warning: implicit declaration of function ‘gst_rtp_buffer_validate’
../../gst/fsrtpconference/fs-rtp-session.c:1268: warning: implicit declaration of function ‘gst_rtp_buffer_get_ssrc’
../../gst/fsrtpconference/fs-rtp-session.c:1274: error: ‘GstRTCPPacket’ undeclared (first use in this function)
../../gst/fsrtpconference/fs-rtp-session.c:1274: error: (Each undeclared identifier is reported only once
../../gst/fsrtpconference/fs-rtp-session.c:1274: error: for each function it appears in.)
../../gst/fsrtpconference/fs-rtp-session.c:1274: error: expected ‘;’ before ‘rtcppacket’
../../gst/fsrtpconference/fs-rtp-session.c:1276: warning: implicit declaration of function ‘gst_rtcp_buffer_validate’
../../gst/fsrtpconference/fs-rtp-session.c:1278: warning: implicit declaration of function ‘gst_rtcp_buffer_get_first_packet’
../../gst/fsrtpconference/fs-rtp-session.c:1278: error: ‘rtcppacket’ undeclared (first use in this function)
../../gst/fsrtpconference/fs-rtp-session.c:1281: warning: implicit declaration of function ‘gst_rtcp_packet_get_type’
../../gst/fsrtpconference/fs-rtp-session.c:1281: error: ‘GST_RTCP_TYPE_SDES’ undeclared (first use in this function)
../../gst/fsrtpconference/fs-rtp-session.c:1283: warning: implicit declaration of function ‘gst_rtcp_packet_sdes_get_ssrc’
../../gst/fsrtpconference/fs-rtp-session.c:1286: warning: implicit declaration of function ‘gst_rtcp_packet_move_to_next’
make[3]: *** [codec_discovery-fs-rtp-session.o] Error 1
make[3]: Leaving directory `/home/kreuger/Downloads/Updates/farsight2/tests/rtp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kreuger/Downloads/Updates/farsight2/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kreuger/Downloads/Updates/farsight2'
make: *** [all] Error 2
kreuger@kreuger-desktop:~/Downloads/Updates/farsight2$
Logged
billiob
Administrator
Super Power User
*****
Offline Offline

Posts: 1352


View Profile
« Reply #204 on: August 26, 2008, 09:30:18 pm »

kakaroto is on holiday, wait for him.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #205 on: September 02, 2008, 11:59:11 pm »

arg... too many problems.. I'll be back from holidays friday, and will need to rest, so on monday, you should expect some news from me...
1 - the 0.0.3.1 version issue is because you are not using the right branch on git... or because Tester released and rebased everything...
2 - @m33ts4k0z : you are missing gstrtpbin.. so you didn't install gstreamer-plugins-bad correctly.. make sure it's installed correctly and with the /usr prefix...
3 - @db2912 : same as above, but you didn't install the farsight2 plugins correctly...
4 - @Kreuger : you must install the autotools and gstreamer dev packages...
Logged

KaKaRoTo
Kreuger
Super Power User
**
Offline Offline

Posts: 204


View Profile WWW
« Reply #206 on: September 03, 2008, 05:42:44 am »

Quote
@Kreuger : you must install the autotools and gstreamer dev packages...
According to Synaptic, I have autotools-dev (version 20070725.1) and I also have libgstreamer0.10-dev (version 0.10.20-1).
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #207 on: September 03, 2008, 02:25:19 pm »

try installing aclocal, or typing 'aclocal' to see if it's installed...
you can also try autoreconf -vfi to see the verbose output of what happens...
Logged

KaKaRoTo
Kreuger
Super Power User
**
Offline Offline

Posts: 204


View Profile WWW
« Reply #208 on: September 03, 2008, 03:24:27 pm »

autoreconf -vfi shows

Quote
kreuger@kreuger-desktop:~/Downloads/Updates/farsight2$ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I common/m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'


I'm pretty sure I installed aclocal since the autogen works fine.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #209 on: September 04, 2008, 01:03:27 am »

@Kreuger :
ok, so your error :
Quote
autoreconf: failed to run aclocal: no such file or directory


is not valid anymore ? it's not showing that anymore ?
did you try to relaunch ./configure ?
Logged

KaKaRoTo
Pages: 1 ... 12 13 [14] 15 16 ... 46
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!