diff options
Diffstat (limited to 'example-scripts/gstreamer/play-mixed-video.sh')
-rwxr-xr-x | example-scripts/gstreamer/play-mixed-video.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/example-scripts/gstreamer/play-mixed-video.sh b/example-scripts/gstreamer/play-mixed-video.sh index 49cc6f7..5fd4fac 100755 --- a/example-scripts/gstreamer/play-mixed-video.sh +++ b/example-scripts/gstreamer/play-mixed-video.sh @@ -1,6 +1,13 @@ #!/bin/sh + +confdir="`dirname "$0"`/../" +. $confdir/default-config.sh +if [ -f $confdir/config.sh ]; then + . $confdir/config.sh +fi + gst-launch-1.0 \ - tcpclientsrc host=localhost port=11000 !\ + tcpclientsrc host=$MIXHOST port=11000 !\ matroskademux !\ glupload !\ glimagesink ts-offset=500000000 |