From patchwork Tue Mar 31 14:08:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 18544 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 02EA344AF9C for ; Tue, 31 Mar 2020 17:08:24 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D554968B0B6; Tue, 31 Mar 2020 17:08:23 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4B24368AF1A for ; Tue, 31 Mar 2020 17:08:17 +0300 (EEST) Received: by mail-pg1-f174.google.com with SMTP id k5so8176884pga.2 for ; Tue, 31 Mar 2020 07:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pdXBrx9FtfT3ZTiaK8quLt+ZRH7fECAi4u7QLrhZ+/g=; b=YKk0aWPgeZMmSLWIrTWdFM+V5pB7zs+zLpLZVebfbuy8/eC+pXKw8BRQqUNMtNVtnk 69fP2itfx/QiO5fRJM+CdNZtHwgGPSf3Cq5pDqHd6yH7nJjgiQl1T9kvljA+X6A2pOeA r38P32jvk+7c7t+PojfUZIuTYdg7Cc4GXL2rcdkG7u9/BEMGem3kCP6+yVaAyBsH8g5f mcpoR+PLG67UHm4Vcf3jAb8slp2iAhndAcBZWWfA1rKE6hUH96vx8PItmwriHTzJIJXA LlH+eNSqBjq6ah8MZdWLai7RK30SLSwsQnS5LHMer+XySHIyZJzFyMBG6zsG1oqo/A4B 2mjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pdXBrx9FtfT3ZTiaK8quLt+ZRH7fECAi4u7QLrhZ+/g=; b=puEIW/ERAJKDHzzpxpYEhvYn3q5yazbJdE/3ZvwFK73AEfvkLLZZAVz/K8GhivDKKl wdWMBEiVvM5labP7Zf+qBUwqPTYf+53dtGZ4WyAK8XtYudGDDdr07VznS7o9mp3MHhKy dfOpVHNV7y9IZHe9b1CkSqfKEqFyLYMEjBbCca2LPrdlZCNaN6YdENc+O3+wC1KL/miJ o/1glSlM9FH99FAshQQZ/8s8N8eqp6rmGnVSsQP8aBl1bl2nTP6pvTvQrThjHHI0BxSa jB4rlF5itgkWy+QEONQLM/HGQLanf/OldmjKp9hV13zrINV/x30UeiD/W1HMnAeAT0VB QG4g== X-Gm-Message-State: ANhLgQ1KrrLrOsX0v+k6Uuzi1xFBXO/1HBjEvvyakAeC4Xzuf1xBIMg+ pF7/jNsliITnOgx1aMBfcDyqxaJI X-Google-Smtp-Source: ADFU+vsGPNfLACQPz9iOLX/iBybM7At7YxDCCOBqXn1oM1IpqIl1g12y7FpnbWgaWu5c63FoUjTNrQ== X-Received: by 2002:a62:16d2:: with SMTP id 201mr17370088pfw.295.1585663694640; Tue, 31 Mar 2020 07:08:14 -0700 (PDT) Received: from vpn.localdomain ([47.90.99.151]) by smtp.gmail.com with ESMTPSA id i8sm2477088pgd.80.2020.03.31.07.08.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2020 07:08:13 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Tue, 31 Mar 2020 22:08:06 +0800 Message-Id: <20200331140808.8839-1-lance.lmwang@gmail.com> X-Mailer: git-send-email 2.9.5 Subject: [FFmpeg-devel] [PATCH v1 1/3] doc/protocols: clarify timeout and latency unit of measurement for SRT X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Limin Wang Signed-off-by: Limin Wang --- doc/protocols.texi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/protocols.texi b/doc/protocols.texi index e510019..7aa7585 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1255,7 +1255,7 @@ options. This protocol accepts the following options. @table @option -@item connect_timeout +@item connect_timeout=@var{milliseconds} Connection timeout; SRT cannot connect for RTT > 1500 msec (2 handshake exchanges) with the default connect timeout of 3 seconds. This option applies to the caller and rendezvous @@ -1286,7 +1286,7 @@ IP Type of Service. Applies to sender only. Default value is 0xB8. @item ipttl=@var{ttl} IP Time To Live. Applies to sender only. Default value is 64. -@item latency +@item latency=@var{microseconds} Timestamp-based Packet Delivery Delay. Used to absorb bursts of missed packet retransmissions. This flag sets both @option{rcvlatency} and @option{peerlatency} @@ -1297,7 +1297,7 @@ when side is sender and @option{rcvlatency} when side is receiver, and the bidirectional stream sending is not supported. -@item listen_timeout +@item listen_timeout=@var{microseconds} Set socket listen timeout. @item maxbw=@var{bytes/seconds} @@ -1377,7 +1377,7 @@ use a bigger maximum frame size, though not greater than @item pkt_size=@var{bytes} Alias for @samp{payload_size}. -@item peerlatency +@item peerlatency=@var{microseconds} The latency value (as described in @option{rcvlatency}) that is set by the sender side as a minimum value for the receiver. @@ -1389,7 +1389,7 @@ Not required on receiver (set to 0), key size obtained from sender in HaiCrypt handshake. Default value is 0. -@item rcvlatency +@item rcvlatency=@var{microseconds} The time that should elapse since the moment when the packet was sent and the moment when it's delivered to the receiver application in the receiving function. @@ -1407,7 +1407,7 @@ Set UDP receive buffer size, expressed in bytes. @item send_buffer_size=@var{bytes} Set UDP send buffer size, expressed in bytes. -@item timeout +@item timeout=@var{microseconds} Set raise error timeouts for read, write and connect operations. Note that the SRT library has internal timeouts which can be controlled separately, the value set here is only a cap on those.