Skip to content
Snippets Groups Projects

Removed local stream

Merged jmadeira requested to merge removeDoubleStream into master
1 file
+ 2
4
Compare changes
  • Side-by-side
  • Inline
@@ -698,8 +698,7 @@ def onSetpoint(msg):
def selectStream(msg):
####### Legion Camera for testing is the default
startStreamDef = "gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,framerate=30/1,width=640,height=480 ! videoconvert ! x264enc quantizer=25 \
tune=zerolatency bitrate=4096 ! \"video/x-h264,profile=baseline\" ! rtph264pay ! multiudpsink clients=127.0.0.1:" + str(
msg) + ',' + janusIP + ':' + \
tune=zerolatency bitrate=4096 ! \"video/x-h264,profile=baseline\" ! rtph264pay ! multiudpsink clients=" + janusIP + ':' + \
str(msg) + " sync=false async=false"
if stabilize:
record_str = ' -r' if record else ''
@@ -716,8 +715,7 @@ def selectStream(msg):
else:
####### Legion Camera for testing is the default
startStreamDef = "gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,framerate=10/1,width=1280,height=720 ! videoconvert ! x264enc quantizer=25 \
tune=zerolatency bitrate=4096 ! \"video/x-h264,profile=baseline\" ! rtph264pay mtu=1300 ! multiudpsink clients=127.0.0.1:" + str(
msg) + ',' + janusIP + ':' + \
tune=zerolatency bitrate=4096 ! \"video/x-h264,profile=baseline\" ! rtph264pay mtu=1300 ! multiudpsink clients=" + janusIP + ':' + \
str(msg) + " sync=false async=false"
if jetsonON:
switcher = {
Loading