diff options
author | Antonio García-Domínguez <nyoescape@gmail.com> | 2018-07-01 11:56:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-01 11:56:32 +0100 |
commit | 9555840edaa3a432a388118a3bd39d812e303a43 (patch) | |
tree | 7b9a7afd860e68cc4633c4f8b07ab4091453e075 | |
parent | 7c6065145cf532bed84627890be227bfb2a298c8 (diff) | |
parent | 6a453e929affae623a7e5cbe1a96dfa1b9aeb318 (diff) |
Merge pull request #53 from liuseemin/master
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 \ |