Selaa lähdekoodia

remove old values, and use speex

David 9 vuotta sitten
vanhempi
commit
7c50460db5
1 muutettua tiedostoa jossa 4 lisäystä ja 6 poistoa
  1. 4 6
      server/working-udp-audio.sh

+ 4 - 6
server/working-udp-audio.sh

@@ -1,11 +1,9 @@
 #!/bin/bash
 #!/bin/bash
 
 
-SOURCE="audiotestsrc is-live=true"
-SOURCE='udpsrc port=5001 do-timestamp=true caps="application/x-rtp" ! queue ! rtppcmadepay ! alawdec'
-SOURCE='udpsrc port=5001 do-timestamp=true caps="application/x-rtp" ! queue ! rtppcmudepay ! mulawdec'
-SOURCE='udpsrc multicast-group=224.1.1.1 auto-multicast=true port=5001 do-timestamp=true caps="application/x-rtp" ! queue ! rtppcmudepay ! mulawdec'
-SOURCE='udpsrc multicast-group=192.168.2.255 auto-multicast=true port=5001 do-timestamp=true caps="application/x-rtp" ! queue ! rtppcmudepay ! mulawdec'
-SOURCE='udpsrc port=5001 do-timestamp=true caps="application/x-rtp" ! queue ! rtppcmudepay ! mulawdec'
+#SOURCE="audiotestsrc is-live=true"
+
+SOURCE='udpsrc port=5001 caps="application/x-rtp" do-timestamp=true ! queue ! rtpspeexdepay ! speexdec'
+#SOURCE='audiotestsrc is-live=true'
 
 
 BANDPASS="audiochebband mode=band-pass lower-frequency=50 upper-frequency=4000 ! audioconvert "
 BANDPASS="audiochebband mode=band-pass lower-frequency=50 upper-frequency=4000 ! audioconvert "