summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-19 16:25:21 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-19 16:25:21 +0200
commit7939259c588ce443c8618f3420c27af4d10cba4c (patch)
tree4f1712362520561e048480b9491c4bb4af8ebd37 /bin/stream
parentb86ac790479ee47813964db53ed71d04f3400b80 (diff)
Raise udp packet size to 1440 (apparently acceptable via our uplink.
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream2
1 files changed, 1 insertions, 1 deletions
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