hello everybody ,
thank' again for your help , i 'm now learning more and more about the farsight
and finally the .test-rtp-3 works on the both side ,
but in an application of videoconference i must use the video streaming , so i
compiled the test-rtp-3-video under /farsight/tests/ but as i informed you
before the videotest track doesn't appear . i do :
./test-rtp-3-video 192.168.1.69 9078 192.168.1.69 9078 9082 ( on teminal A)
./test-rtp-3-video 192.168.1.69 9082 192.168.1.69 9082 9078 (on teminal B)
but when applying tcpdump on the lo interface it gives me the following result
:
09:12:21.177747 IP Unknown-00-16-ec-92-65-10.lan.9082 >
Unknown-00-16-ec-92-65-10.lan.9078: UDP, length 1024
09:12:21.177762 IP Unknown-00-16-ec-92-65-10.lan >
Unknown-00-16-ec-92-65-10.lan: ICMP Unknown-00-16-ec-92-65-10.lan udp port 9078
unreachable, length 556
and the log of the execution of the command is :
./test-rtp-3-video 192.168.1.69 9082 192.168.1.69 9082 9078
** Message: Sending to 192.168.1.69 9082 listening on port 9078
** Message: setup_recv
** (lt-test-rtp-3-video:6086): DEBUG: setup_recv: sockfd = 7
** Message: Sending ready byte
** Message: waiting for ready byte
** Message: got message!
** Message: Sending ready byte
farsight-Message: looking for plugins in
/home/g545952/Desktop/fado//lib/farsight-0.1-2
opening module
/home/g545952/Desktop/fado//lib/farsight-0.1-2/librtp-session.so: succeeded
protocol details:
name: rtp-session
description: Farsight RTP plugin
author: Farsight Project
farsight-Message: looking for plugins in
/home/g545952/Desktop/fado//lib/farsight-0.1-2
opening module
/home/g545952/Desktop/fado//lib/farsight-0.1-2/librawudp-transmitter.so:
succeeded
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: ensure_local_codecs: media type
is 1
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: looking for
/home/g545952/.farsight/gstelements.conf
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: looking for
/home/g545952/Desktop/fado//etc/farsight/gstelements.conf
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: skipping rtpdepay
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: skipping rtpdec
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: skipping rtspsrc
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: skipping rtpdtmfsrc
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: skipping codec video/unknown,
no encoding name specified (pt: -1 clock_rate:9000
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: adding codec MPEG4-GENERIC with
pt -1, send_pipeline 0x810ac70, receive_pipeline 0x810ac80
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: pipeline:
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: 0x80f15a0:6:ffenc_mpeg4
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: 0x809cad0:4:rtpmp4gpay
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG:
............
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: adding codec H263-1998 with pt
-1, send_pipeline 0x810ae60, receive_pipeline 0x810b190
............
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: adding codec H263-N800 with pt
-1, send_pipeline 0x810abb0, receive_pipeline 0x810ac40
......................etc
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Trying to load
/home/g545952/.farsight/gstcodecs.conf
(lt-test-rtp-3-video:6086): farsight-DEBUG: Unable to read file
/home/g545952/.farsight/gstcodecs.conf: Aucun fichier ou répertoire de ce type
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Trying to load
/home/g545952/Desktop/fado//etc/farsight/gstcodecs.conf
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Prefered codec -1: audio speex
clock:8000 channels:0 could not be matched with an installed
encoder/decoder/payloader/depayloader quatuor
...............etc
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Prefered codec -1: audio PCMU
clock:16000 channels:0 could not be matched with an installed
encoder/decoder/payloader/depayloader quatuor
** Message: codec: 96: H263-1998/90000 found
** Message: codec: 97: H263-N800/90000 found
** Message: send_codecs
** Message: Sending codec
** Message: send_codecs
** Message: Sending codec
** Message: Sending end of list packet
farsight-rtp-Message: Preparing transmitter
farsight-rtp-Message: connect state changed to 1
** Message: state_changed: 0x8063000 connecting
farsight-transmitter-Message: Media type is 1
(lt-test-rtp-3-video:6086): farsight-transmitter-DEBUG: The socket was created
(lt-test-rtp-3-video:6086): farsight-transmitter-DEBUG: could not bind port 9078
(lt-test-rtp-3-video:6086): farsight-transmitter-DEBUG: bound to port 9080
(lt-test-rtp-3-video:6086): farsight-DEBUG: Interface: lo
(lt-test-rtp-3-video:6086): farsight-DEBUG: IP Address: 127.0.0.1
(lt-test-rtp-3-video:6086): farsight-DEBUG: Ignoring loopback interface
(lt-test-rtp-3-video:6086): farsight-DEBUG: Interface: eth1
(lt-test-rtp-3-video:6086): farsight-DEBUG: IP Address: 192.168.1.69
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Called
farsight_rtp_stream_new_native_candidate
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Native candidates found, adding
to list
native_candidates_prepared: preparation-complete: stream=0x8063000
** Message: Local transport candidate: L1 1 UDP RTP 192.168.1.69:9080, pref
1,000000
farsight-rtp-Message: connect state changed to 2
** Message: state_changed: 0x8063000 connected
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG:
farsight_rtp_stream_build_base_pipeline (2067): creating core RTP pipeline
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: added transmitter_src 0x8139000
to pipeline 0x813a818
** (lt-test-rtp-3-video:6086): DEBUG: pipeline is 0x813a818
0x8143118
new_active_candidate_pair: new-native-candidate-pair: stream=0x8063000
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: farsight_rtp_stream_set_source
(1738): setting src
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: farsight_rtp_stream_set_sink
(1848): setting sink xvimagesink
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: farsight_rtp_stream_set_sink:
No codec bin present, setting new sink for future use
** Message: waiting for msg
** Message: got message!
** Message: got type 1
** Message: Received 1 H263-1998 96 90000 0
** Message: added video codec: 96: H263-1998/90000 found
** Message: waiting for msg
** Message: got message!
** Message: got type 1
** Message: Received 1 H263-N800 97 90000 0
** Message: added video codec: 96: H263-1998/90000 found
** Message: added video codec: 97: H263-N800/90000 found
** Message: waiting for msg
** Message: got message!
** Message: got type 1
** Message: Received 1 LAST 0 0 0
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: remote_codec H263-1998 90000
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: remote_codec H263-N800 90000
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Remote codec 96: video
H263-1998 clock:90000 channels:0
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Have local codec in the same
PT, lets try it first
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Using default codec negotiation
function
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Negotiated codec 96: video
H263-1998 clock:90000 channels:0
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Remote codec 97: video
H263-N800 clock:90000 channels:0
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Have local codec in the same
PT, lets try it first
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Using default codec negotiation
function
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Negotiated codec 97: video
H263-N800 clock:90000 channels:0
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: caps are: application/x-rtp,
encoding-name=(string)H263-1998, clock-rate=(int)90000, media=(string)video,
payload=(int)96
.....etc
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: creating send codec bin for id
96, pipeline_factory 0x810ae60
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: checking if ffenc_h263p is in
config list
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: linking src 0x814c088 to codec
bin 0x8158000 with caps NULL
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: We are now PLAYING
....etc
(lt-test-rtp-3-video:6086): farsight-rtp-DEBUG: Set_state result was 2
** Message: waiting for msg
** Message: got message!
** Message: got type -1210336224
** Message: waiting for msg
** Message: got message!
** Message: got type -1210336224
** Message: waiting for msg
** Message: got message!
......//infinitly
so can you please help me with any informations , specially that you've trired
this example before . and i'm really looking forward for an ansewer from your
side .please accept my respect .
best regards
souilem Fadi
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel