| 1234567891011121314151617 |
- #!/bin/bash
- HOST="224.1.1.1"
- HOST="192.168.2.255"
- enc="vorbisenc"
- enc="volume volume=0.8 ! mulawenc ! rtppcmupay"
- enc="opusenc ! rtpopuspay"
- #
- SRC="audiotestsrc wave=sine freq=400 "
- SRC="alsasrc slave-method=resample do-timestamp=true"
- HOST="192.168.1.7:5001"
- HOST="192.168.2.120:5001"
- #HOST="192.168.2.120:5001,192.168.2.155:5001" #,192.168.2.68:5001"
- echo gst-launch-1.0 $SRC ! audioconvert ! audioresample ! $enc ! multiudpsink clients=$HOST
- gst-launch-1.0 $SRC ! audioconvert ! audioresample ! $enc ! multiudpsink clients=$HOST
|