Hi, I'm still trying to use telepathy-farsight to create a video conference application, using telepathy farsight and python.
Up to now I can create a telepathy channel and the corresponding telepathy farsight channel. I'm also able to retrieve the telepathy farsight stream which has the signal "src-pad-added". But I don't really understand how the "request-resource" signal works. 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 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 ... But my script end here and my second contact (who is the signal's recipient) is never notified of the telepathy channel creation. 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 And some debug informations: ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) _tf_stream_try_sending_codecs: 96: video H264 clock:90000 channels:0 ... ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) _tf_stream_try_sending_codecs: 100: video DV clock:90000 channels:0 ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) fs_codecs_to_tp: adding codec H264 [96] ... ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) fs_codecs_to_tp: adding codec DV [100] ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) _tf_stream_try_sending_codecs: calling MediaStreamHandler::Ready ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) set_remote_codecs: called ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) set_remote_codecs: adding remote codec H264 [96] ... ** (test_mediachannel.py:12985): DEBUG: stream 1 (video) set_remote_codecs: adding remote codec DV [100] And at this time, my second contact is notified of the created telepathy channel. I connect to the same signals and then the same debugging gstreamer informations is output on the console. ... x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow! ... But I don't receive any "src-pad-added" signals, on any participants. 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 ? This file doesn't work for me, does another version exist ? Any idea is welcomed Thank you very much, -- Fabien LOUIS <flo...@viotech.net> ------------------------------------------------------------------------------ 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