aMSN Forums
May 22, 2013, 11:37:05 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 ... 14 15 [16] 17 18 ... 46
  Print  
Author Topic: Audio/Video conversation  (Read 369879 times)
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #225 on: September 20, 2008, 02:37:11 am »

by the way, for those who have tested aMSN with farsight and libnice... care to comment ? how is it ? is it working correctly for you ? does it work with everyone or it works with 'some' users ? how is the sound quality ? any bugs I should be aware of ? etc...
I know that there seems to be a nasty memory corruption somewhere that I just can't seem to find :@:@:@:@ so if you get segfaults, it's "normal"... if you don't get any, tell me that you don't! apart from that, it should all work just fine now!
Logged

KaKaRoTo
farseeing
Newbie

Offline Offline

Posts: 12


View Profile
« Reply #226 on: September 20, 2008, 08:25:57 am »

comment : AWESOME !
( I didn't try the relay version of aMSN.still usig svn 10479)
audio is just fine : duplex mode even seems less jerked than with WLM.
video reception is perfect.
emission fluidity is correct. quality is not very good but not sure it comes from farsight.
stability : no segfault, no problems. I've stayed more than hour in conversation and it' was all fine.
didn't try it with others aMSN users, just WLM ones.
Kakaroto, if you need some logs or printscreens just tell and provide an email address. would be a pleasure.
Logged
khaan
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #227 on: September 20, 2008, 11:59:07 am »

Hello and thanks for all the efforts and great work!

I just have a problem when compiling farsight2. I am under Debian Testing, but switched to Unstable to download all the needed stuff. I think I've followed the instructions correctly, but I get:
Code:
fs-nice-stream-transmitter.c: In function ‘fs_nice_stream_transmitter_class_init’:
fs-nice-stream-transmitter.c:295: error: ‘NICE_COMPATIBILITY_ID19’ undeclared (first use in this function)
fs-nice-stream-transmitter.c:295: error: (Each undeclared identifier is reported only once
fs-nice-stream-transmitter.c:295: error: for each function it appears in.)
make[3]: *** [libnice_transmitter_la-fs-nice-stream-transmitter.lo] Error 1
make[3]: Leaving directory `/tmp/amsn/farsight2/transmitters/nice'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/amsn/farsight2/transmitters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/amsn/farsight2'
make: *** [all] Error 2


Does it have anything to do with the instruction no more to use the 'nice' branch as said on the wiki, but the 'relay-info'? If so, could you please update the wiki? If not... well any help appreciated!

Thanks in advance
Logged
billiob
Administrator
Super Power User
*****
Offline Offline

Posts: 1352


View Profile
« Reply #228 on: September 20, 2008, 12:56:31 pm »

The stuff is still in heavy development, so don't expect it to work. We won't update the wiki until Kakaroto says the development is complete.
Don't read the wiki, it's a bit outdated, read the whole thread.
Logged
khaan
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #229 on: September 20, 2008, 05:53:07 pm »

I understand that full well and don't expect anything.
I'm just trying to do what I can, which might often be limited to point out things that do not work for me, in case it might help.
Logged
jamaj
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #230 on: September 20, 2008, 08:49:29 pm »

fs-nice-stream-transmitter.c: Na função ‘fs_nice_stream_transmitter_class_init’:
fs-nice-stream-transmitter.c:295: erro: ‘NICE_COMPATIBILITY_ID19’ undeclared (first use in this function)
fs-nice-stream-transmitter.c:295: erro: (Each undeclared identifier is reported only once
fs-nice-stream-transmitter.c:295: erro: for each function it appears in.)
make[3]: ** [libnice_transmitter_la-fs-nice-stream-transmitter.lo] Erro 1
make[3]: Saindo do diretório `/usr/src/farsight2/transmitters/nice'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/usr/src/farsight2/transmitters'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/src/farsight2'
make: ** [all] Erro 2
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #231 on: September 21, 2008, 05:25:12 am »

khan, jamaj, read what I just said, you need a different branch!
instructions have been updated in the wiki. Use my own git repository instead.

Quote from: "farseeing"
comment : AWESOME !
( I didn't try the relay version of aMSN.still usig svn 10479)
audio is just fine : duplex mode even seems less jerked than with WLM.
video reception is perfect.
emission fluidity is correct. quality is not very good but not sure it comes from farsight.
stability : no segfault, no problems. I've stayed more than hour in conversation and it' was all fine.
didn't try it with others aMSN users, just WLM ones.
Kakaroto, if you need some logs or printscreens just tell and provide an email address. would be a pleasure.

hehe, thanks, glad the sound works great and I'm glad the audio is working fine for you! I think the memory corruption happens mostly when you 'hang up'.. but it won't always happen, so sometimes I had to call/cancel/call/cancel like 10 times to get it.. but it's been a while since I saw it, so I'm hoping it got fixed with my last changes!
video reception/sending is a completely different feature (old and known to be stable).
I don't need logs or anything, thanks for suggesting, it seems to be all fine now! If you ever get an error or a segfault though, (can't connect with someone for example) and you can reproduce it everytime, then the output on the terminal when amsn is compiled with --enable-debug would be helpful!

By the way, I have updated the instructions on the wiki and updated my branches for the latest code.. but there's a little bug with farsight2 when compiling, so to get it to compile, just configure it with --disable-gtk-doc.. this hopefully will be fixed and won't be needed starting monday!
have fun with that!
Logged

KaKaRoTo
Brian
Newbie

Offline Offline

Posts: 31



View Profile
« Reply #232 on: September 21, 2008, 09:32:26 am »

kakaroto, glad I found the right thread. The instructions here were different to what I found somewhere else?
I have followed the instructions but unfortunately I still get, when running maake,

cc1: warnings being treated as errors
agent.c: In function 'nice_agent_add_stream':
agent.c:755: warning: implicit declaration of function 'g_warn_if_fail'
agent.c:755: warning: nested extern declaration of 'g_warn_if_fail'
make[2]: *** [agent.lo] Error 1
make[2]: Leaving directory `/Documents/SOURCE/libnice/agent'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/Documents/SOURCE/libnice/agent'
make: *** [install-recursive] Error 1

I am not on a debian system but I ran the git stuff anyway.

git clone git://git.collabora.co.uk/git/user/kakaroto/nice.git libnice
Initialized empty Git repository in /Documents/SOURCE/libnice/.git/
remote: Counting objects: 4772, done.
remote: Compressing objects: 100% (1533/1533), done.
Indexing 4772 objects...
remote: Total 4772 (delta 3578), reused 4304 (delta 3219)
 100% (4772/4772) done
Resolving 3578 deltas...
 100% (3578/3578) done

libnice #  git checkout origin/nice-kakaroto
Note: moving to "origin/nice-kakaroto" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
  git checkout -b <new_branch_name>
HEAD is now at cdd0db3... use the NO_INDICATION_AUTH flag for msn turn support

I then run
/autogen.sh --prefix=/usr

and get at the start

/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
/usr/share/aclocal/progsreiserfs.m4:13:   run info '(automake)Extending aclocal'
/usr/share/aclocal/progsreiserfs.m4:13:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
/usr/share/aclocal/progsreiserfs.m4:13:   run info '(automake)Extending aclocal'
/usr/share/aclocal/progsreiserfs.m4:13:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal

the rest seems to run ok, but as quoted above the make fails and libnice does not get built.

Is this expected to work on a non debian system?
I cannot find any reference to gtk-doc-tools  in Suse.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #233 on: September 21, 2008, 01:10:38 pm »

Hi Brian, yes it should work on non-debian... the only debian specific stuff is my instructions with 'apt-get' that speeds up the process!
Anyways, the error you get is weird.. and seems to be incomplete... or maybe you just didn't follow the wiki page http://www.amsn-project.net/wiki/Farsight#Linux
Make sure you have the minimum required dependencies!!!
I'm guessing the missing 'g_warn_if_fail' is because you have an old version of glib! Can you check which version of glib you are using and tell me what it is ?
Thanks!

EDIT
ok.. my bad, the wiki said that glib required was 2.14, and I just checked : http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-warn-if-fail
which says for "g_warn_if_fail"
Quote
Since 2.16

So, I've now updated the wiki to say that glib 2.16 is the required version.
Please update your glib installation to 2.16...

EDIT2
I have just pushed a 'fix' for this, I removed the g_warn_if_fail, so please update your libnice source
Code:
git pull origin nice-kakaroto

You shouldn't have that warning anymore.. BUT I cannot assure you that everything will work just fine.. it probably will, but all my tests were done on glib 2.16.. so if you encounter any error, please upgrade your glib installation and retry before reporting any problems.
Thanks!
Logged

KaKaRoTo
jamaj
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #234 on: September 21, 2008, 09:50:08 pm »

Kakaroto,

I did what you said and recompiled farsight2 and libnice. They compiled ok.
I used --prefix=/usr and sudo ldoconfig after
compiling and doing "sudo make install".

aMsn now does not recognize the presence of Farsight and/or libnice.

What could be happening?

Thanks in  advance.

PS: I'm compiling in Ubuntu 8.04.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #235 on: September 21, 2008, 09:55:05 pm »

@jamaj : re-read http://www.amsn-project.net/forums/viewtopic.php?p=32255#32255
and especially read ALL the steps you need to do "in case it doesn't work" at the end.
no info = no help.
Logged

KaKaRoTo
Brian
Newbie

Offline Offline

Posts: 31



View Profile
« Reply #236 on: September 22, 2008, 05:11:19 am »

Ok, I can confirm that I am using glib 2.14.
I pulled the fix and the original error is gone but I now get

 cc1: warnings being treated as errors
gstnicesrc.c: In function 'gst_nice_src_get_type':
gstnicesrc.c:103: warning: passing argument 1 of 'g_once_init_enter' from incompatible pointer type
gstnicesrc.c:103: warning: passing argument 1 of 'g_once_init_leave' from incompatible pointer type
gstnicesrc.c:103: warning: passing argument 2 of 'g_once_init_leave' makes pointer from integer without a cast
make[2]: *** [gstnicesrc.lo] Error 1
make[2]: Leaving directory `/Documents/SOURCE/libnice/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Documents/SOURCE/libnice'
make: *** [all] Error 2

This means we have two ways to go from here.
1) I can stick with 2.14 and keep sending you the issues, if you wish to fix them or
2) I can try and find a glib 2.16 and see how I go.

Happy to go either way.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #237 on: September 22, 2008, 06:52:35 am »

Hi again,
yeah, I guessed it was a glib 2.14 issue... and glad it got fixed... about your problem, this seems quite odd as it's not coming from my code, it's coming from gstreamer, AND it should work on 2.14... there's even a check to make sure glib 2.14 is used, otherwise it would call something else to stay compatible...
so I don't know what the problem is...
tomorrow I'll look into this, ask the gstreamer people if they know what that error is about...
I'll keep you informed!

now you have two choices :
1 - you want it to work NOW, so you just upgrade to 2.16 and make it work..
2 - you wait patiently for us to fix us, as it would be nice if the code was 2.14-compatible...


EDIT: I would suggest you try to upgrade your gcc compiler to the latest version you can find, it might be a compiler problem rather than something else... The version I use is gcc 4.1.3
Logged

KaKaRoTo
Brian
Newbie

Offline Offline

Posts: 31



View Profile
« Reply #238 on: September 22, 2008, 08:04:07 am »

Hi, I have managed to find a new version of glib, glib2-2.18.1-29.1.i586.rpm, but I will hold off installing it just in case you would like me to test something.
I am not sure how to communicate with the gstreamer people so I will just wait until you can get back to me. The gcc I am running is
gcc (GCC) 4.2.1 (SUSE Linux) so I guess this is ok.


EDIT: I have just tried to signin again and it now hangs during the signon process. So it looks like I will have to update the glib to proceed.
Just to be clear I am running AMSN 0.98b 2007/12/25 SVN version 10399
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #239 on: September 22, 2008, 05:12:02 pm »

humm.. ok, well, glad you found a glib 2.18 rpm!
I have just installed glib 2.14 on my system and tried it out, and it did compile correctly with glib-2.14 (at least, libnice did, farsight2 is failing for some other reason).
The only clue I might have is about wrong/corrupted include files.. make sure you have the exact matching glib 2.14 dev package on your system.
Anyways, your case is probably abnormal, since it worked for me, and everything in the code says that it should work just fine.
I think we can just forget this issue unless it pops up again, so just go ahead and install glib 2.18 for your system (along with the glib-dev package)
Have fun!

EDIT : just saw your edit... amsn doesn't use glib, and as long as you couldn't get farsight installed, it won't be able to run, so the fact that it freezes on signon is probably caused by something completely different (snack trying to play a sound but /dev/dsp is occupied?)
Logged

KaKaRoTo
Pages: 1 ... 14 15 [16] 17 18 ... 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!