On Mon, 2009-03-16 at 13:59 +0100, Fabien LOUIS wrote: > According to the Telepathy farsight documentation, the request-resource > signal needs to return, True if the requested resources could be > allocated. However, when I return True, I get: > ** (test_mediachannel.py:12822): DEBUG: stream 1 (video) > tf_stream_request_resource: Requesting resource for direction 1 returned > 1
That looks good. > And some gstreamer informations: > ... > x264 [info]: using SAR=1/1 > x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow! > x264 [info]: slice I:1 Avg QP:24,68 size: 42351 > x264 [info]: mb I I16..4: 51,5% 0,0% 48,5% > x264 [info]: SSIM Mean Y:0,9782374 > x264 [info]: kb/s:5082,1 > ... This also looks good. > But my script end here and my second contact (who is the signal's > recipient) is never notified of the telepathy channel creation. Not so good.. Its possible that one of your encoders is broken.. Try running it with GST_DEBUG="fsrtp*:5" and pastebin me the log (and come to #farsight or send it by email or something). My guess, its that it is a problem with the codecs discovery. You can also use the latest git of telepathy-farsight (or today's release, if I get to make one). > On the other hand, if I return False in request-resource signal, I get: > ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) > tf_stream_request_resource: Requesting resource for direction 1 returned > 0 > ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) > _tf_stream_try_sending_codecs: Could not get resource, sending may not > work As expected, normally, you'd return False if you can't start the media source, or something like that. > Regarding file "call-4.py" (http://people.collabora.co.uk/~tester/) the > signal "request-ressource" isn't listened, so it returns False every > time isn't it ? With a recent enough version of tp-fs, if there is no callback to the "request-resource" signal, it will act as if True had been returned. > This file doesn't work for me, does another version exist ? I think this one should work, we should really merge a working version into tp-python or tp-fs.. -- Olivier Crête olivier.cr...@collabora.co.uk Collabora Ltd
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________ Farsight-devel mailing list Farsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/farsight-devel