>> Thank you very much for your reply, Lin.<br>>> I change the order of "host=" and "port=" as you said, but the same error<br>>> occurs.<br>>> The server side seems working normally as before, after I start the server:<br>
>><br>>> gst-launch filesrc location=new0.mpg ! mpegdemux mpegdemux0.video_00 ! {<br>>> queue ! udpsink host=127.0.0.1 port=4400 } \<br>>> mpegdemux0.audio_00 ! { queue ! udpsink host=127.0.0.1 port=4401 }<br>
>><br>>> Setting pipeline to PAUSED ...<br>>> Pipeline is PREROLLING ...<br>>> Pipeline is PREROLLED ...<br>>> Setting pipeline to PLAYING ...<br>>> New clock: GstSystemClock<br>>><br>
>> Then the client:<br>>> gst-launch udpsrc uri=udp://<a href="http://127.0.0.1:4400">127.0.0.1:4400</a> ! { queue ! mpeg2dec !<br>>> xvimagesink } \<br>>> udpsrc uri=udp://<a href="http://127.0.0.1:4401">127.0.0.1:4401</a> ! { queue ! decodebin ! audioconvert !<br>
>> audioresample ! autoaudiosink }<br>><br>> The host part of a URI to udpsrc is only used for multicast sessions.<br>> In the unicast case, you should just use udpsrc port=4400.<br>><br>> Equivalently, if you want to use the URI form, specify the 'any'<br>
> address like udp://<a href="http://0.0.0.0:4400">0.0.0.0:4400</a><br>><br>> Mike<br><br>Hello, Mike. Thanks for your reply. <br>But there is something I can't understand. Yes, I'm trying to use unicast with udp. I want to run the server and client in different machines (say, one with ip 192.168.0.1, the other 192.168.0.10). how can I communicate between two machines if I can't specify ip address and only with port.<br>
<br>If I use 0.0.0.0, that won't be an unicast. Yeah? Can you help. Or anybody kown how to do that?<br>Thanks very much.<br>