Stream my local audio via RTSP.

This commit is contained in:
Abhay Rana 2015-03-14 22:20:18 +05:30
parent 3c221c1b0e
commit c707e65ba2
1 changed files with 11 additions and 0 deletions

11
stream-audio.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash -
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 "Starting VLC"
sleep 2
nvlc "pulse://" ":sout=#transcode{vcodec=none,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/}"