From 6a453e929affae623a7e5cbe1a96dfa1b9aeb318 Mon Sep 17 00:00:00 2001 From: Hsiming Liu Date: Sun, 1 Jul 2018 04:30:11 +0800 Subject: change GST_FPS to 24 and decoder to decodebin for smoother streaming --- prepare-videochat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prepare-videochat.sh') 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 \ -- cgit v1.2.3