|
|
@ -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")) |
|
|
|