diff --git a/raspberry/roberto/camera/camera_gstreamer_webrtc.py b/raspberry/roberto/camera/camera_gstreamer_webrtc.py index 72b9999..ab414bb 100644 --- a/raspberry/roberto/camera/camera_gstreamer_webrtc.py +++ b/raspberry/roberto/camera/camera_gstreamer_webrtc.py @@ -89,7 +89,7 @@ PIPELINE_DESC = ''' ''' PIPELINE_DESC_RASPBERRY = ''' - rpicamsrc bitrate=1000000 keyframe-interval=25 rotation=180 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 ! + rpicamsrc bitrate=4000000 keyframe-interval=16 rotation=180 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 ! tee name=video-tee ! queue ! fakesink sync=true @@ -205,8 +205,8 @@ class WebRTCCamera(Thread): webrtcbin.set_property("bundle-policy", "max-bundle") #webrtcbin.set_property("latency", 40) - #rtpbin = webrtcbin.get_by_name('rtpbin') - #rtpbin.set_property("latency", 40) + rtpbin = webrtcbin.get_by_name('rtpbin') + rtpbin.set_property("latency", 40) audio_queue = peer_bin.get_by_name("audio-queue") audio_sink_pad = Gst.GhostPad.new("audio_sink", audio_queue.get_static_pad("sink")) diff --git a/raspberry/roberto/views/frontend/templates/index.html b/raspberry/roberto/views/frontend/templates/index.html index 739334f..a99c5c2 100644 --- a/raspberry/roberto/views/frontend/templates/index.html +++ b/raspberry/roberto/views/frontend/templates/index.html @@ -21,7 +21,7 @@ } #controls_l { position: absolute; - bottom: 40px; + bottom: 75px; left: 0; width: 40%; height: 33%; @@ -29,7 +29,7 @@ } #controls_r { position: absolute; - bottom: 40px; + bottom: 75px; right: 0; width: 40%; height: 33%;