summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio García-Domínguez <nyoescape@gmail.com>2018-07-01 11:56:32 +0100
committerGitHub <noreply@github.com>2018-07-01 11:56:32 +0100
commit9555840edaa3a432a388118a3bd39d812e303a43 (patch)
tree7b9a7afd860e68cc4633c4f8b07ab4091453e075
parent7c6065145cf532bed84627890be227bfb2a298c8 (diff)
parent6a453e929affae623a7e5cbe1a96dfa1b9aeb318 (diff)
Merge pull request #53 from liuseemin/master
change GST_FPS to 24 and decoder to decodebin for smoother streaming
-rwxr-xr-xprepare-videochat.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/prepare-videochat.sh b/prepare-videochat.sh
index e469372..4fe6c26 100755
--- a/prepare-videochat.sh
+++ b/prepare-videochat.sh
@@ -163,7 +163,7 @@ WIDTH=640
HEIGHT=480
# Frame rate of video
-GST_FPS=5
+GST_FPS=24
# Choose audio codec from wav, aac or opus
# do not choose opus until editing pipeline. If choose opus, pipeline will not work
@@ -531,7 +531,7 @@ set +e
pipeline_video() {
echo souphttpsrc location="$VIDEO_URL" do-timestamp=true is-live=true \
! multipartdemux \
- ! jpegdec \
+ ! decodebin \
$GST_FLIP \
! $GST_VIDEO_CONVERTER \
! videoscale \