Diane Trout | 20 May 2013 07:04

STUN RFC3489 vs 5389

Hello,

I was having trouble using kde-telepathy call-ui (using farstream 0.1) to call 
jitsi over xmpp on a NATted network. I was able to have jitsi call itself, and 
a nokia N9. 

I packet sniffed and discovered that jitsi was using the RFC5389 version of 
STUN, while ktp-call-ui + farstream was using the RFC3489 version. 

Most of the documentation about STUN say the older version doesn't work very 
well. It looks like libnice supports both versions, 

Has anyone considered doing something like this? (No idea if the AGENT_USAGE 
flags are a good idea or not).

Diane

diff --git a/transmitters/rawudp/fs-rawudp-component.c 
b/transmitters/rawudp/fs-rawudp-component.c
index 156450c..25fa8ca 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
 <at>  <at>  -509,7 +509,9  <at>  <at>  fs_rawudp_component_init (FsRawUdpComponent *self)
   self->priv->associate_on_source = TRUE;

   stun_agent_init (&self->priv->stun_agent,
-      STUN_ALL_KNOWN_ATTRIBUTES, STUN_COMPATIBILITY_RFC3489, 0);
+      STUN_ALL_KNOWN_ATTRIBUTES, 
+      STUN_COMPATIBILITY_RFC5389, 
+      STUN_AGENT_USAGE_ADD_SOFTWARE | STUN_AGENT_USAGE_USE_FINGERPRINT);
(Continue reading)

Chockalingam Alagappan | 8 May 2013 14:14

Snooping

Can i use the farstream API only for snooping
i.e i want to extract the RTP data of a conference without being an active 
particpant on the conference.

Chockalingam Alagappan | Senior Consultant , Engineering
GlobalLogic
P +91.080.4157.6163  M +91.994.540.5810  S chock.gl
www.globallogic.com

http://www.globallogic.com/email_disclaimer.txt
_______________________________________________
Farstream-devel mailing list
Farstream-devel@...
http://lists.freedesktop.org/mailman/listinfo/farstream-devel
Olivier Crête | 16 Apr 2013 03:54

ANNOUNCE: Farstream 0.2.3


Tarball:
http://freedesktop.org/software/farstream/releases/farstream/farstream-0.2.3.tar.gz
Signature:
http://freedesktop.org/software/farstream/releases/farstream/farstream-0.2.3.tar.gz.asc

- Use generic marshallers
- Fix building by gold linker (Emanuele Aina)
- Fix leaks, found by Havard Graff and others
- Fix building with automake 1.13 (Nuno Araujo)
- Lower PulseAudio latencies (Arun Raghavan)
- Fix codec intersection
- Add API to make the API be introspection accessible, fixing the Python example
- Use GSocket and other win32 portability improvements

--

-- 
Olivier Crête
olivier.crete@...
_______________________________________________
Farstream-devel mailing list
Farstream-devel@...
http://lists.freedesktop.org/mailman/listinfo/farstream-devel
David Spangle | 3 Apr 2013 01:30
Picon
Gravatar

bitrate adapter & rtp header extensions

im working on a client that id like the bitrate adapter and tfrc to be a part of, but im having trouble getting it off the ground.  my client is currently using telepathy-gabble (google) as my backend account in telepathy.  my first guess was to undo the change made on 2011-10-03 to "disable tfrc from default config".  even after doing that, i can put debug code in farstream to see that the rtp header extensions arent being generated or read from the conference.  is there anything else on a general scale i need to do that im missing to make sure the tfrc code runs?  also, i am running two of my clients that have that change uncommented out so it shouldnt be that one end has them enabled while the other does not, which would probably not pass negotiation.

thanks,
david spangle
_______________________________________________
Farstream-devel mailing list
Farstream-devel@...
http://lists.freedesktop.org/mailman/listinfo/farstream-devel
Yann Leboulanger | 30 Mar 2013 14:29

debugging

Hi,

I'd like to know if there is a way to get some debug information when 
using farstream. Sometimes there are problem connecting users, like 
described here:
https://trac.gajim.org/ticket/6117

XML seems to be ok, and the rest is done inside farstream / gstreamer.

So is there a way we can have information from farstream and/or 
gstreamer to understand what's going on?

Thanks for your help,
--

-- 
Yann
Conrad Poelman | 27 Mar 2013 08:28

Windows executable fails to load fsrtpconference and other plugins

As you may know the Pidgin IM client uses gstreamer and farstream on Linux, but that capability hasn't been implemented on Windows. The Pidgin IM client uses a MinGW build system with some specialized build instructions at https://developer.pidgin.im/wiki/BuildingWinPidgin. I'm attempting to get gstreamer/farstream working in Pidgin on Windows.

After a lot of effort, I got things to compile and start up by:
With GST_DEBUG set to '*:9', as Pidgin starts up I can see that some plugins are loaded just fine and others fail. It looks like:
  • fsmsnconference, fsrtcpfilter and fsrtpconference fail to load
  • fsrawconference, fsvideoanyrate load just fine
For "deployment" of the plugins I just copied the DLLs to C:\Users\cp\.gstreamer-1.0, set GST_PLUGIN_PATH to point there, and copied other dependent DLLs into the pidgin.exe directory. Using Dependency Walker seems to show no missing dependencies. So I guess I wonder if anyone has any thoughts on:
  • What kinds of things would cause loading a plugin to fail?
  • Can you suggest any extra debugging steps I might try?
  • Do you see a pattern in terms of which plugins load and which ones fail that might point me in the right direction?
I appreciate any help you can offer. Thanks!

-- Conrad


P.S. Here are the log messages generated when I start up:

fsmsnconference failing to load:
0:00:00.018001000  8912    1d58600 DEBUG           GST_REGISTRY gstregistry.c:1324:gst_registry_scan_path_internal:<registry0> scanning path C:\Users\cp\.gstreamer-1.0
0:00:00.019001000  8912    1d58600 LOG             GST_REGISTRY gstregistry.c:1244:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsmsnconference.dll looks like a possible module
0:00:00.019001000  8912    1d58600 DEBUG           GST_REGISTRY gstregistry.c:1305:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsmsnconference.dll not yet in registry
0:00:00.019001000  8912    1d58600 DEBUG     GST_PLUGIN_LOADING gstplugin.c:702:gst_plugin_load_file: attempt to load plugin "C:\Users\cp\.gstreamer-1.0\libfsmsnconference.dll"
0:00:00.023002000  8912    1d58600 WARN      GST_PLUGIN_LOADING gstplugin.c:734:gst_plugin_load_file: module_open failed: `C:\Users\cp\.gstreamer-1.0\libfsmsnconference.dll': The specified module could not be found.


fsrawconference loading fine:
0:00:00.023002000  8912    1d58600 LOG             GST_REGISTRY gstregistry.c:1244:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsrawconference.dll looks like a possible module
0:00:00.023002000  8912    1d58600 DEBUG           GST_REGISTRY gstregistry.c:1305:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsrawconference.dll not yet in registry
0:00:00.023002000  8912    1d58600 DEBUG     GST_PLUGIN_LOADING gstplugin.c:702:gst_plugin_load_file: attempt to load plugin "C:\Users\cp\.gstreamer-1.0\libfsrawconference.dll"
0:00:00.024002000  8912    1d58600 TRACE        GST_REFCOUNTING gstobject.c:214:gst_object_init:<GstObject <at> 01DA4228> 01DA4228 new
0:00:00.024002000  8912    1d58600 LOG       GST_PLUGIN_LOADING gstplugin.c:803:gst_plugin_load_file: Plugin 01DA4228 for file "C:\Users\cp\.gstreamer-1.0\libfsrawconference.dll" prepared, calling entry function...
0:00:00.024002000  8912    1d58600 LOG       GST_PLUGIN_LOADING gstplugin.c:810:gst_plugin_load_file: Plugin 01DA4228 for file "C:\Users\cp\.gstreamer-1.0\libfsrawconference.dll" prepared, registering...
0:00:00.024002000  8912    1d58600 LOG       GST_PLUGIN_LOADING gstplugin.c:504:gst_plugin_register_func: plugin "C:\Users\cp\.gstreamer-1.0\libfsrawconference.dll" looks good
0:00:00.024002000  8912    1d58600 TRACE        GST_REFCOUNTING gstobject.c:214:gst_object_init:<GstObject <at> 0418D140> 0418D140 new
0:00:00.024002000  8912    1d58600 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:240:gst_element_register:<fsrawconference> Created new elementfactory for type FsRawConference
...

fsrtcpfilter and fsrtpconference failing to load:
0:00:00.029002000  8912    1d58600 LOG             GST_REGISTRY gstregistry.c:1244:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsrtcpfilter.dll looks like a possible module
0:00:00.029002000  8912    1d58600 DEBUG           GST_REGISTRY gstregistry.c:1305:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsrtcpfilter.dll not yet in registry
0:00:00.029002000  8912    1d58600 DEBUG     GST_PLUGIN_LOADING gstplugin.c:702:gst_plugin_load_file: attempt to load plugin "C:\Users\cp\.gstreamer-1.0\libfsrtcpfilter.dll"
0:00:00.032002000  8912    1d58600 WARN      GST_PLUGIN_LOADING gstplugin.c:734:gst_plugin_load_file: module_open failed: `C:\Users\cp\.gstreamer-1.0\libfsrtcpfilter.dll': The specified module could not be found.
0:00:00.033002000  8912    1d58600 LOG             GST_REGISTRY gstregistry.c:1244:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsrtpconference.dll looks like a possible module
0:00:00.033002000  8912    1d58600 DEBUG           GST_REGISTRY gstregistry.c:1305:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsrtpconference.dll not yet in registry
0:00:00.033002000  8912    1d58600 DEBUG     GST_PLUGIN_LOADING gstplugin.c:702:gst_plugin_load_file: attempt to load plugin "C:\Users\cp\.gstreamer-1.0\libfsrtpconference.dll"
0:00:00.035002000  8912    1d58600 WARN      GST_PLUGIN_LOADING gstplugin.c:734:gst_plugin_load_file: module_open failed: `C:\Users\cp\.gstreamer-1.0\libfsrtpconference.dll': The specified module could not be found.


fsvideoanyrate loading fine:
0:00:00.035002000  8912    1d58600 LOG             GST_REGISTRY gstregistry.c:1244:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsvideoanyrate.dll looks like a possible module
0:00:00.035002000  8912    1d58600 DEBUG           GST_REGISTRY gstregistry.c:1305:gst_registry_scan_path_level:<registry0> file C:\Users\cp\.gstreamer-1.0\libfsvideoanyrate.dll not yet in registry
0:00:00.035002000  8912    1d58600 DEBUG     GST_PLUGIN_LOADING gstplugin.c:702:gst_plugin_load_file: attempt to load plugin "C:\Users\cp\.gstreamer-1.0\libfsvideoanyrate.dll"
0:00:00.036002000  8912    1d58600 TRACE        GST_REFCOUNTING gstobject.c:214:gst_object_init:<GstObject <at> 01DA40B8> 01DA40B8 new
0:00:00.036002000  8912    1d58600 LOG       GST_PLUGIN_LOADING gstplugin.c:803:gst_plugin_load_file: Plugin 01DA40B8 for file "C:\Users\cp\.gstreamer-1.0\libfsvideoanyrate.dll" prepared, calling entry function...
0:00:00.036002000  8912    1d58600 LOG       GST_PLUGIN_LOADING gstplugin.c:810:gst_plugin_load_file: Plugin 01DA40B8 for file "C:\Users\cp\.gstreamer-1.0\libfsvideoanyrate.dll" prepared, registering...
0:00:00.036002000  8912    1d58600 LOG       GST_PLUGIN_LOADING gstplugin.c:504:gst_plugin_register_func: plugin "C:\Users\cp\.gstreamer-1.0\libfsvideoanyrate.dll" looks good
0:00:00.036002000  8912    1d58600 TRACE        GST_REFCOUNTING gstobject.c:214:gst_object_init:<GstObject <at> 0418D1D0> 0418D1D0 new
0:00:00.036002000  8912    1d58600 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:240:gst_element_register:<fsvideoanyrate> Created new elementfactory for type GstVideoanyrate
...



_______________________________________________
Farstream-devel mailing list
Farstream-devel@...
http://lists.freedesktop.org/mailman/listinfo/farstream-devel
Yann Leboulanger | 10 Jan 2013 20:39

Re: GObject.Parameter

On 12/29/2012 05:04 PM, Yann Leboulanger wrote:
> On 12/29/2012 04:56 PM, Olivier Crête wrote:
>> Hello,
>>
>> On Sat, 2012-12-29 at 16:09 +0100, Yann Leboulanger wrote:
>>> I'm porting my python code to gobject introspection. I am blocked on the
>>> set_transmitter() function, which require an array of GObject.Parameter
>>> objects.
>>>
>>> But I'm not able to create those GObject.Parameter instances. How am I
>>> supposed to get them?
>>>
>>> When I do p = GObject.Parameter(), I cannot set a name or a value to p.
>>
>> Yes, it's a known (and annoying) limitation of GObject introspection..
>> Suggestions for a more bindable API would be appreciated.
>
> Unfortunatly I don't know GObject introspection enough for that. I guess
> a set_transmitter_param(transmitter_name, name, value) is not an option
> 'cause parameters are needed when creating the FsStreamTransmitter?
>
> maybe something like that: fs_stream_set_transmitter
> (FsStream *stream,
> const gchar *transmitter,
> gchar *stream_transmitter_parameter_names,
> gchar *stream_transmitter_parameter_values,
> guint stream_transmitter_n_parameters,
> GError **error);
>
> and I guess there is no workarround for the moment? I just have to wait
> a solution is implemented?
>
> Thanks for your quick answer,

Hi,

Is there any news about this issue? Any plan to have a way to use this 
function via introspection?

Thanks,
--

-- 
Yann
_______________________________________________
Farstream-devel mailing list
Farstream-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/farstream-devel
B U J J I | 27 Feb 2012 14:56
Picon

regarding G722 usage in farsight2/farstream

hi all,
i am trying to use g722 codecs in farsight application. i have got few problems while running examples/gui . 
first is negotiation problem because it accepts 1 channel date so that is fixed with channel=1.

next is when i am running it in farsight2 example voice is breaking. but naturally its working very fine. i am putting those pipelines here.

sender:
gst-launch-0.10 -v alsasrc ! 'audio/x-raw-int,channels=1,rate=16000' ! ffenc_g722 bitrate=64000 ! rtpg722pay ! udpsink port=5000 host=127.0.0.1  -v

receiver:
gst-launch-0.10 udpsrc port=5000 caps="application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)G722, encoding-params=(string)1, channels=(int)1, payload=(int)96" ! rtpg722depay ! ffdec_g722 ! alsasink sync=false -v

these pipelines are working absolutely fine.

But in farsight2 i am not able to use G722 why ? i have tried setting different params but no luck.

can anybody help me ?


Thanks,
Bujji

_______________________________________________
Farstream-devel mailing list
Farstream-devel@...
http://lists.freedesktop.org/mailman/listinfo/farstream-devel
Olivier Crête | 11 Nov 2011 18:37

Mailing list move

Hi,

To go with renaming of the project to Farstream, I will be moving the
mailing list to freedesktop.

So the new name will be farstream-devel@...

I'll also be renaming the farsight-commits mailing list to
farstream-commits, but this one is already on freedesktop.

You don't have to do anything except updating your filters as I'll move
the subscriber list over.

--

-- 
Olivier Crête
olivier.crete@...
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Farsight-devel mailing list
Farsight-devel@...
https://lists.sourceforge.net/lists/listinfo/farsight-devel
B U J J I | 11 Nov 2011 18:28
Picon

farsight-send-profile for h264


hi all,

I am trying using farsight2(farstream) for my videoconferencing application.
I ran the examples from examples/gui its working fine for different codecs.

But I my camera gives encoded(h264 encoded) so I don't want decode it back to yuv and use it in the farsight2.

And i see in some forums that  if we use 'farsight-send-profile'  and 'farsight-send-profile'  we can make it to use our own encoder and decoder in configuration files.

so tried added below lines in gst/fsrtpconference/default-codec-preferences compiled and installed. (and i have changed for capture  v4l2src ! video/x-h264  in fs2-gui.py too )

[H264]
farsight-send-profile=identity ! rtph264pay
farsight-recv-profile=rtph264depay ! ffdec_h264

but that didn't work for me.

I see that FsRtpSession expects video/raw-yuv, (or ) video/raw-rgb, ( or ) video/raw-gray but i am giving video/x-h264. 

Can you guys suggest me how can I use my camera(h264 encoded) for farsigt2.

Thanks,
Bujji




 



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Farsight-devel mailing list
Farsight-devel@...
https://lists.sourceforge.net/lists/listinfo/farsight-devel
Olivier Crête | 10 Oct 2011 23:09

ANNOUNCE: Farsight2 0.0.31

The "THEORA IS BACK" release

Tarball:
http://farsight.freedesktop.org/releases/farsight2/farsight2-0.0.31.tar.gz
Signature:
http://farsight.freedesktop.org/releases/farsight2/farsight2-0.0.31.tar.gz.asc

- Restore Theora functionality that I broke in 0.0.31
- Merged experimental TCP-Friendly Rate Control (TFRC) module, disabled by default
- Support for requesting keyframes on packet loss
- Disables regular keyframes if keyframe requests are supported to ensure smoother streaming

--

-- 
Olivier Crête
olivier.crete@...

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Farsight-devel mailing list
Farsight-devel@...
https://lists.sourceforge.net/lists/listinfo/farsight-devel

Gmane