diff options
author | Hsiming Liu <liuseemin@gmail.com> | 2018-07-01 04:30:11 +0800 |
---|---|---|
committer | Hsiming Liu <liuseemin@gmail.com> | 2018-07-01 04:30:11 +0800 |
commit | 6a453e929affae623a7e5cbe1a96dfa1b9aeb318 (patch) | |
tree | 7b9a7afd860e68cc4633c4f8b07ab4091453e075 | |
parent | 7c6065145cf532bed84627890be227bfb2a298c8 (diff) |
change GST_FPS to 24 and decoder to decodebin for smoother streaming
-rwxr-xr-x | prepare-videochat.sh | 4 |
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 \ |