From: Youness A. <you...@co...> - 2007-09-24 08:56:56
|
Make sure it binds on the 7078 port, if the port is already used, then it won't be able to listen on it and will listen on port 7080 (or 7082 is 7080 is already used). Read the log a little, and read a bit about gstreamer and try to figure it out yourself. KaKaRoTo souilem fadi wrote: > hello , everybody thank's again for your help , i repeat my question > hopping to receive an ansewer this time , > after trying the test-rtp-3 on the local machine , i tried to test it > on two different machines , like this: > host A : > ./test-rtp-3 IP-host-B 7078 > host B : > ./test-rtp-3 IP-host-A 7078 > but the probleme is that i'm getting a stream only in one direction > from host A to hostB only , even if the STREAM-DIRECTION variable is > set to Both . isn't the test-rtp-3 supposed to send and receive stream > in both direction ? can someone help ? > regards > Fadi Souilem > */Youness Alaoui <you...@co...>/* a écrit : > > > ./test-rtp-3 127.0.0.1 7078 > then > ./test-rtp-3 127.0.0.1 7080 > > this has nothing to do with farsight, it's a common sense problem. > Please think about it a little before asking such questions... > > ./test-rtp-3 127.0.0.1 7078 > This creates a pipeline and listens on port 7078, then sends to port > 7078 -> it sends to itself... > > The correct way of doing it is to launch the line with port 7080 > before > the 7078 one., so you will get : > > ./test-rtp-3 127.0.0.1 7080 > This will listen on port 7078 and send to port 7080 > > > ./test-rtp-3 127.0.0.1 7078 > This will try to listen on port 7078 and fails (since it's already > used > by the other process) then it will use port 7080, and send to port > 7078 > > So you will have the two processes send to each other once you launch > the second one. > > > KaKaRoTo > > souilem fadi wrote: > > hello everybody , well i've tried the method that was proposed by > > Mr.Olivier and it work's , but there is something strange , to run > > the example i must follow this order : > > ./test-rtp-3 127.0.0.1 7078 > > then > > ./test-rtp-3 127.0.0.1 7080 > > the probleme is that i start hearing the test sound track > > immidiatlly after typing > > ./test-rtp-3 127.0.0.1 7078 > > and i perform in the opposite way ( i mean i tipe ./test-rtp-3 > > 127.0.0.1 7080 ) first nothing happens . here i'm sending a part of > > the log , and i really i want to know what is the problem with the > > sinks and buffers ? > > ./test-rtp-3 127.0.0.1 7078 > > 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 > > ............ > > .................. > > .............. > > // the lo log as usual until ..........// > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > farsight_rtp_stream_set_sink > > (1848): setting sink alsasink > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > > farsight_rtp_stream_set_sink: No codec bin present, setting new > sink > > for future use > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > > farsight_rtp_stream_new_payload_type (889): received stream with > new > > pt, blocking rtpdemux > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > > farsight_rtp_stream_payload_type_change (899): received stream > payload > > changed to 8 > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > > rtpdemux_pad_blocked_callback (850): rtpdemux pad blocked, > idle_adding > > create_recv_pipeline > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: call_create_recv_pipeline > > (822): calling create_recv_pipeline from main thread > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > > farsight_rtp_stream_create_new_pt_recv_pipeline (971): active PT > > change to 8 > > farsight-rtp-Message: > farsight_rtp_stream_create_new_pt_recv_pipeline > > (989): setting up new pipeline for id=8 > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: creating recv codec > bin for > > id 8, pipeline_factory 0x812e540 > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: checking if alawdec is in > > config list > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: checking if > rtppcmadepay is > > in config list > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: setting queue-delay on > > depayloader > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: linking rtppcmadepay0 and > > alawdec0 with caps audio/x-alaw, channels=(int)1, rate=(int)8000 > > codec_changed: codec-changed: codec_id=8, stream=0x8062000 > > ** Message: state_changed: 0x8062000 connected > > > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > > farsight_rtp_stream_create_new_pt_recv_pipeline (1071): linking > audio > > sink to codec bin > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: > > farsight_rtp_stream_create_new_pt_recv_pipeline: unblocking > rtpdemux > > src pad > > (lt-test-rtp-3:5042): farsight-rtp-DEBUG: Pad src8 unblocked > > successfully for farsight_rtp_stream_create_new_pt_recv_pipeline > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > ** (lt-test-rtp-3:5042): DEBUG: Sink needs buffer, must wait for > > buffering to stop > > > > I know that my questions may appear so evident , but i'm really > new in > > the farsight and i need your help . > > > > > > 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 > > Far...@li... > > https://lists.sourceforge.net/lists/listinfo/farsight-devel > > > > > ------------------------------------------------------------------------ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails > <http://www.trueswitch.com/yahoo-fr/> 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 > Far...@li... > https://lists.sourceforge.net/lists/listinfo/farsight-devel > |