From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 4B9B34E422 for ; Thu, 10 Jul 2025 01:46:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id BDB8F68F893; Thu, 10 Jul 2025 04:46:40 +0300 (EEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 093B468F85E for ; Thu, 10 Jul 2025 04:46:35 +0300 (EEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-236377f00easo7116675ad.1 for ; Wed, 09 Jul 2025 18:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752111993; x=1752716793; darn=ffmpeg.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=IvTaZfoEuOq0WHKM97I37TEOxP5NwMiC8zXFGVjn7RE=; b=ez4Y8ZHoGbxJiMFifjC0STdWgq0id3y19Occqmyt6Ub/5b4IAfqBcG1U6ZHDE7FQK/ jflPSnKUQSXtjyYZuD9R18wnC395Qlb0eHAse/pnTbnZozFCjFKXGZG3rgFcdwVYmxRh gqHPzeF7WALzcAh8UqqqBFHYE6+qa7WUBLjuqGaNd4i/ln8bm71qJcZm2Du32k70lGfC rog2PDuCIyBznBLWi1sTKtOEsW+QJbH87Tfi3VPl1hKmRcN8A6xWI/PchcX9BAltug3C kVhDeT2nQHDMM9dULMUeKv3t3HXtLhNPrlcTlipKyMPPNUwdiDJDRT8fYFFNLVguI4Ro O0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752111993; x=1752716793; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IvTaZfoEuOq0WHKM97I37TEOxP5NwMiC8zXFGVjn7RE=; b=JsvkBv0tG1x8UwEP+Hm6qEsEcrXri2fOiwFFmdFOoaftxPSNPzAdfzNpVvGe/LwIOj xgRRrZtAAQ+pBVlxcjunlkCxTGl90blMG3T35jyJHqb+nQU56khEOV7XSkKDOcx1xQlN OOFX5tK866MX/xmCtSC2CQ+P/lHEnQxqMkcsfoHWX7OBZRbqtd0EShKXsKiFYEOahlfP ppITjtJIsX8o37Ef4PUAs0cz0iJbA0JULi3yhES2/hFxClygaRRHE/4wdBs0O/v6gqdE E72bFTW9lWqJA9Caz0fn69Ol77e6G09Q1QWDBB2z3vo+mblzCuKqEU4GmuJ0pKVe69A5 5Z7g== X-Gm-Message-State: AOJu0YxnN23Pj4WGF1L7ylPxTBqQ6PZL0I8N+J8AQhilTw/ckloESWfs wWTsFT4N3+HLXFETUNHB8yyti3060uP0TF5wEZPibnE5IEdN8pJSzqH+mX8okuLeuEPSNw== X-Gm-Gg: ASbGncv7K6WykxHLyG8Tc2BKQ1o2tjFZEDCy7YydbS+PNyMnLpH+UMslMBobYNaVZms 26wyn4P32nY2vOw/nlRc5thDD6rKzb7jJaLPl6iLNKNByn28rakYm0ASR1eQBX/uEtwhLXiFFnE d4KCiXTCtg9DWlDCc8vxMOLKT1hWG21YszTexSKx1j1GiWU3ywTAtgMjgFcEzH2lQ2y+A1kHmxT FRV6zDAmI6k3JmY1mjAMKf04hCRp3onNxJmouc69noqZ5qPq8S2LwMM/pmuouWNTqht60ZKZifU vyeU0P9OwGCnKWzZBtXVdxmYhI6/Uamc+70rsAAXPXNAtus62tlyg7UfsFIUudVu9IAnCBdV X-Google-Smtp-Source: AGHT+IG4zOoQ1lhwv5LksoeRGAyU47ZTSnP9ToYBcikX90hszvSrMrf7v1vm8Aw7RyYzgzuPr8hCAg== X-Received: by 2002:a17:903:2408:b0:235:711:f810 with SMTP id d9443c01a7336-23de481b322mr11126385ad.23.1752111993059; Wed, 09 Jul 2025 18:46:33 -0700 (PDT) Received: from smtpclient.apple ([38.99.248.174]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-23de4359e4bsm4772385ad.215.2025.07.09.18.46.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jul 2025 18:46:32 -0700 (PDT) From: Jack Lau Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Date: Thu, 10 Jul 2025 09:46:19 +0800 References: <20250709133635.22936-1-jacklau1222@qq.com> <20250709133635.22936-5-jacklau1222@qq.com> To: FFmpeg development discussions and patches In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3826.600.51.1.1) Subject: Re: [FFmpeg-devel] [PATCH 4/4] avformat/udp: fix udp server mode haven't dest_addr X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > On Jul 9, 2025, at 22:16, Timo Rothenpieler wrote: > > On 09/07/2025 15:36, Jack Lau wrote: >> If udp is in server mode(init local addr and port through url), >> then it maybe haven't dest_addr, so we should set it after udp_read >> get the client addr and port > > I'm also really not sure if this is correct, or what scenario it even fixes. > The vast majority of uses of UDP are strictly unidirectional, making this a non-issue. > > DTLS is one of the few exceptions there, and as the user of udp.c should be the one responsible for setting the appropriate destination address when in "server" mode. Maybe we could add a udp option that enable this feature? And only enable it when user explicitly set. > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".