From 75971de1bae7ec7fca49f2da0cc9067369d4714c Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Mon, 3 Aug 2020 19:28:57 +0200 Subject: [PATCH] web-frontend tuning --- raspberry/roberto/camera/camera_gstreamer_webrtc.py | 2 +- raspberry/roberto/views/frontend/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/raspberry/roberto/camera/camera_gstreamer_webrtc.py b/raspberry/roberto/camera/camera_gstreamer_webrtc.py index 5f0ce27..84ff862 100644 --- a/raspberry/roberto/camera/camera_gstreamer_webrtc.py +++ b/raspberry/roberto/camera/camera_gstreamer_webrtc.py @@ -59,7 +59,7 @@ webrtcbin name=sendrecv bundle-policy=max-bundle stun-server=stun://stun.l.googl if platform == 'raspberry': PIPELINE_DESC = ''' webrtcbin name=sendrecv bundle-policy=max-bundle stun-server=stun://stun.l.google.com:19302 - rpicamsrc bitrate=600000 keyframe-interval=25 exposure-mode=sports annotation-mode=12 preview=false name=rpicamsrc ! video/x-h264,profile=constrained-baseline,width=1280,height=720,framerate=49/1,level=3.0 ! queue max-size-time=100000000 ! h264parse ! + rpicamsrc bitrate=1000000 keyframe-interval=25 exposure-mode=sports annotation-mode=12 annotation-text-size=10 preview=false name=rpicamsrc ! video/x-h264,profile=constrained-baseline,width=1280,height=720,framerate=49/1,level=3.0 ! queue max-size-time=100000000 ! h264parse ! rtph264pay config-interval=-1 name=payloader ! application/x-rtp,media=video,encoding-name=H264,payload=96 ! sendrecv. audiotestsrc is-live=true wave=red-noise ! audioconvert ! audioresample ! queue ! opusenc ! rtpopuspay ! diff --git a/raspberry/roberto/views/frontend/templates/index.html b/raspberry/roberto/views/frontend/templates/index.html index 7f9fad1..09034bc 100644 --- a/raspberry/roberto/views/frontend/templates/index.html +++ b/raspberry/roberto/views/frontend/templates/index.html @@ -147,7 +147,7 @@ socket.on('data', (data) => { var ctx = canvas.getContext("2d"); ctx.font = "24px Arial"; ctx.fillStyle = "blue"; - ctx.fillText("Hello World", canvas.width/3, 30); + //ctx.fillText("Hello World", canvas.width/3, 30); };