From 7939259c588ce443c8618f3420c27af4d10cba4c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 19 May 2017 16:25:21 +0200 Subject: Raise udp packet size to 1440 (apparently acceptable via our uplink. --- bin/stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/stream b/bin/stream index 24213d3..6395225 100755 --- a/bin/stream +++ b/bin/stream @@ -208,7 +208,7 @@ encode_x264() { bitrate=$1; speed=$2; -force_key_frames expr:gte(t,n_forced*2)" } tee_rtp() { stream=$1; pt=$2; port=$3; - echo_n "[select=\'$stream\':f=rtp:payload_type=$pt]rtp://$IP:$port?pkt_size=1200" + echo_n "[select=\'$stream\':f=rtp:payload_type=$pt]rtp://$IP:$port?pkt_size=1440" } # * scale+watermark trick based on http://stackoverflow.com/a/10937357 -- cgit v1.2.3