[streaming] Synchronise clients

Ian Rice ianrice12 at yahoo.co.uk
Tue Nov 7 19:44:00 CET 2006


Hello,
I'm trying to synchronise two vlc clients to a vlc server.
Basically I want the server putting out an audio stream and the clients 
playing in sync.

I need some advice about the best way to do this.

 vlc -vvv --ttl 12 --netsync-master ~/test.mp3 --sout 
'#duplicate{dst=rtp{dst=client1,port=1234,sdp=rtsp://server:8084/test1.sdp},dst=rtp{dst=client2,port=1234,sdp=rtsp://server:8088/test.sdp}}'

this works but the clients are out of sync.
Not surprising, I guess, as it is setup at 2 separate output streams.

I need a single spd so
alternatively I can do this:
vlc -vvv --ttl 12 --netsync-master ~/test.mp3 --sout 
'#rtp{dst=11.11.11.255,port=1234,sdp=rtsp://server:8880/test.sdp}

This works where 11.11.11. is a wireless LAN but does not work over 
ethernet !
Also this broadcast does not seem like the best way.  I'd like specify 
the IP of each of the clients and wrap the entire session in a single spd.

Any ideas ?

Thanks

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list