summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2013-04-18 16:17:10 -0700
committerDavid Schleef <ds@schleef.org>2013-04-18 16:17:56 -0700
commit2e0fdb00cec9b330bcd303c41d2f9f506eed9751 (patch)
tree926e23534c3b87de8466289cc4c9ea01360f8e12
parent9b42ac4d32f7ac25f81b3639085bdc4138371fc4 (diff)
tools: the default stream name changed to stream-0
-rwxr-xr-xtools/push-icecast-ogg4
-rwxr-xr-xtools/push-icecast-webm4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/push-icecast-ogg b/tools/push-icecast-ogg
index cac3333..82c563f 100755
--- a/tools/push-icecast-ogg
+++ b/tools/push-icecast-ogg
@@ -25,7 +25,7 @@ session_url=`curl -s $curlopts -w '%{redirect_url}' $curlcmd https://$host/login
echo session url $session_url
-url=$(echo $session_url | sed 's,\?,stream0?,')
+url=$(echo $session_url | sed 's,\?,stream-0?,')
curl -s $curlopts --data enabled=true --data push-method=icecast $url >/dev/null
@@ -36,7 +36,7 @@ gst-launch -q \
theoraenc keyframe-freq=30 keyframe-force=30 ! \
queue ! \
oggmux max-delay=100000000 max-page-delay=100000000 name=mux ! \
- shout2send ip=127.0.0.1 port=8080 mount=stream0 \
+ shout2send ip=127.0.0.1 port=8080 mount=stream-0 \
audiotestsrc volume=0.1 wave=ticks is-live=true ! \
vorbisenc ! \
queue ! \
diff --git a/tools/push-icecast-webm b/tools/push-icecast-webm
index 6b827a0..707b6b3 100755
--- a/tools/push-icecast-webm
+++ b/tools/push-icecast-webm
@@ -24,7 +24,7 @@ session_url=`curl -s $curlopts -w '%{redirect_url}' $curlcmd https://$host/login
echo session url $session_url
-url=$(echo $session_url | sed 's,\?,stream0?,')
+url=$(echo $session_url | sed 's,\?,stream-0?,')
curl -s $curlopts --data enabled=true --data push-method=icecast $url >/dev/null
@@ -35,7 +35,7 @@ gst-launch -q \
vp8enc ! \
queue ! \
webmmux streamable=true name=mux ! \
- shout2send ip=127.0.0.1 port=8080 mount=stream0 \
+ shout2send ip=127.0.0.1 port=8080 mount=stream-0 \
audiotestsrc volume=0.1 wave=ticks is-live=true ! \
vorbisenc ! \
queue ! \