Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 35 and Version 36 of GSoC2008/VoiceAndVideo


Ignore:
Timestamp:
Jul 18, 2008, 10:49:51 PM (16 years ago)
Author:
Maiku
Comment:

Correct and simplify. Update about rawudp transmitter.

Legend:

Unmodified
Added
Removed
Modified
  • GSoC2008/VoiceAndVideo

    v35 v36  
    22
    33Student: [wiki:Maiku Mike Ruprecht (Maiku)]
    4 
    5 Amendments/Warning: I have tried to make this a bit more sane for people who are not developers and yet want to experiment with these features. My additions should be clearly labelled. None the less, if you have never compiled something from developmental source code before (no tarballs here!), you should leave now, and just wait until this hits a final release of Pidgin -- Kyrian.
    64
    75=== To-Do: ===
     
    1816
    1917=== Tips for Testers: ===
    20 Make sure you are using the latest revision of [http://developer.pidgin.im/viewmtn/branch/shortchanges/im.pidgin.soc.2008.vv im.pidgin.soc.2008.vv] before asking questions and submitting bug reports.
     18Make sure you are using the latest revision of [http://developer.pidgin.im/viewmtn/branch/shortchanges/im.pidgin.soc.2008.vv im.pidgin.soc.2008.vv] before asking questions and submitting bug reports. It might be a good idea to review [http://developer.pidgin.im/wiki/UsingPidginMonotone UsingPidginMonotone].
    2119
    22 (Kyrian)
    23 It might be a good idea to review [http://developer.pidgin.im/wiki/UsingPidginMonotone UsingPidginMonotone] to understand what this means?
     20If you're following the UsingPidginMonotone HOWTO, use "im.pidgin.soc.2008.vv" instead of "im.pidgin.pidgin".
    2421
    25 To cut a long story short, however, follow the brief HOWTO in the UsingPidginMonotone, but substitute "im.pidgin.pidgin" for "im.pidgin.soc.2008.vv", and of course "/user/" for whatever your own user is, to make things come out as a subdirectory of your own home directory, and to make sure you get the right development 'branch' of the source 'tree'.
    26 
    27 The HOWTO will end you up in the $DATABASE directory when you need to be in the $WORKINGDIR directory to see the code that monotone has downloaded, so "cd $WORKINGDIR" afterwards.
    28 
    29 (This done it is probably a very good idea (tm) to suggest that you force the install location of the development version you are about to build to be under /usr/local/ or /opt/ instead of in with the system software so as to avoid it nuking a working version of Pidgin you might have installed from a package!--exec-prefix and --prefix options to the './configure' command! )
    30 
    31 And then the related comments in [http://developer.pidgin.im/wiki/Installing%20Pidgin#IhavethesourcehowdoIbuildthisthing HowDoIBuildThisThing]. You'll probably find that you need autoconf/aclocal/automake packages installed for that to work though. With that covered, I refer back to the original author's comments(/Kyrian)...
     22For help with building, see [http://developer.pidgin.im/wiki/Installing%20Pidgin#Compiling Compiling Pidgin]. Please carefully read through that section and any extra information for the distribution you're using.
    3223
    3324Make sure you have:
    3425 * gstreamer0.10-plugins-good
    3526 * gstreamer0.10-plugins-bad (not sure which version, but it needs to include the gstrtpbin plugin)
    36  * gstreamer0.10-plugins-farsight >= 0.12.6
     27 * [http://farsight.freedesktop.org/releases/gst-plugins-farsight/ gstreamer0.10-plugins-farsight] >= 0.12.6
    3728in addition to the extra compiling requirements of:
    38  * farsight2-0.10 == 0.0.2 (aka libgstfarsight0.10-dev)
    39  * gstreamer-plugins-base-0.10 (aka libgstreamer-plugins-base0.10-dev)
     29 * [http://farsight.freedesktop.org/releases/farsight2/ farsight2-0.10] == 0.0.2
     30 * gstreamer-plugins-base-0.10
    4031
    4132Note: until Farsight 2's ICE transmitter (libnice) is
    42 completed, NAT traversal won't work very well. So, if you're behind a
     33completed, NAT traversal might not work very well. ~~So, if you're behind a
    4334firewall, you'll probably only be able to start sessions within your
    44 local network.
     35local network.~~
     36
     37Update: now that STUN works with the rawudp transmitter, calls should work through NATs to some degree.
    4538
    4639==== Additional Tips for Debian/Ubuntu Users: ====
    47 You'll need these packages from the your Debian/Ubuntu repositories:
     40You'll need these packages from the your Debian/Ubuntu repositories, instead of the ones listed above:
    4841 * [apt://gstreamer0.10-plugins-good gstreamer0.10-plugins-good]
    4942 * [apt://gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad]
     
    5447 * [http://packages.debian.org/sid/gstreamer0.10-plugins-farsight gstreamer0.10-plugins-farsight]
    5548
    56 ==== Additional Tips for Fedora Core Users (Kyrian): ====
     49==== Additional Tips for Fedora Core 9+ Users: ====
    5750
    58 The equivalent required Fedora package names would seem to be:
     51You'll need these packages from the Fedora package repositories, instead of the ones listed above:
    5952
    6053 * gstreamer-plugins-good
    6154 * gstreamer-plugins-bad
    6255 * gstreamer-plugins-base-devel
    63  * farsight
    64  * farsight-devel
    6556 * gstreamer-plugins-farsight
    6657
    67 They can be installed quite simply with the Yum system.
     58You'll also need this package, which needs to be compiled from source.
    6859
    69 (Maiku)
    70 It looks like the farsight package (and farsight-devel) listed is Farsight 1, whereas Farsight 2 is required.
    71 
    72 (Kyrian)
    73 Maiku is quite right, these will need building from source, download from here: http://farsight.freedesktop.org/releases/farsight2/
    74 
    75 I'll see if I can create a .src.rpm for it and plonk it somewhere for download.
    76 
    77 You will need to be running Fedora Core 9 or a custom-built version of the base 'gstreamer' package in order to build and/or utilise the farsight2 libraries. (FC8 version is too old at 0.10.15, but FC9 is ok on 0.10.19).
    78 (/Kyrian)
    79 
    80 These come from Fedora base repos, and one from the Livna repo, in my setup. There are about twice as many packages again required for dependencies, but they come from the Fedora repo, so there should not be any problem caused by that.
    81 
    82 Of course, you'll also need a client for the Monotone system installed for the above UsingPidginMonotone commands to work, these come from the 'monotone' package, which again can be easily installed using Yum.
    83  
    84 For actual building, you'll need to install a variety of '*-devel' packages in order to get past the './configure' stage, but I am going to assume these are detailed elsewhere, and that the reader has enough experience to work this out for themselves.
    85 
    86 The requirement for the "avahi-glib-devel", and (possibly also) "libgpg-error-devel" packages to be installed are a bit of a curve ball that you might miss though?
    87 
    88 Using the basic configure line from a .src.rpm of pidgin from Fedora (in /usr/src/redhat/SPECS/pidgin.spec) will get Pidgin to build, provided you have the pre-requisites. The mandatory parts of the FC spec file's configure line for pidgin are:
    89 
    90 ./configure --enable-gnutls=no --enable-nss=yes --enable-cyrus-sasl --enable-tcl --enable-tk --disable-schemas-install
    91 
    92 And then there are optional args which I am not so sure about.
    93 
    94 The following commandline may prove useful for configuration if you do it another way (that's as far as I really got):
    95 
    96 AVAHI_CFLAGS=-I/usr/include/avahi-glib ./configure --with-avahi-client-includes=/usr/include/avahi-client
    97 
    98 [ More later. I don't think the above compile will actually enable Maiku's code by default? Can't be *that* easy? Indeed, a quick 'ldd' on various stuff installed by the build process shows no sign of being linked to the farsight libs! The config.log file also shows a failure to find farsight2 which explains it ;-) ]
     60 * [http://farsight.freedesktop.org/releases/farsight2/ farsight2-0.10]
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!