Allow user to copy the rtsp path, instead of relying on xclip

This commit is contained in:
Abhay Rana 2015-03-15 17:22:36 +05:30
parent 9f53e6e02a
commit 33818366e6
1 changed files with 3 additions and 4 deletions

View File

@ -3,9 +3,8 @@ set -o nounset
pulseaudio_stream='pulse://alsa_output.pci-0000_00_1b.0.analog-stereo'
echo "rtsp://me.captnemo.in:8554/"|xclip
echo "Copied RTSP url to clipboard. Paste on device"
echo "Copy the following URL and paste in on device: rtsp://me.captnemo.in:8554/"
read -t 5 -p "Hit ENTER or wait ten seconds"
echo "Starting VLC"
sleep 2
nvlc "pulse://" ":sout=#transcode{vcodec=none,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/}"
nvlc "pulse://" ":sout=#transcode{vcodec=none,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/}"