From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by mail.toke.dk (Postfix) with ESMTPS id 2C8A79CC64A for ; Wed, 7 Dec 2022 16:17:42 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=fldW0CMT Received: by mail-pl1-x632.google.com with SMTP id d3so17303438plr.10 for ; Wed, 07 Dec 2022 07:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=SxsFzSkXV0gQtDP8RpTBJ4kwS/W/taKzLjgjjMVOgOc=; b=fldW0CMTgNuGd/DpKkOnOWizWKFTz+BMJeiugmNRbJ4kOoFv4zPC17po94mWlA98HP TKyLaDZpHoSSk2ssONaiqhFXm47lft6j78/POJRZX0rjO4YBjuV0JqK/d9795U+ozwrZ /YZO86IVYexELi+53ES1+2X3MvSO8E2JK4obP4I+nP3MNLVyv3aDVorFdSC+tDtTafDZ /rzziueF2OazDYxk7c934eX0l9SurI+0XnYOezsY+8zF6FrL9C+zJWJeUI5D0EvkXxlv pzpxcOFoYziaP8bD2NuPs/wyuxwiVCgME0y2RI55IjzhT5gvBWXKWjZOcu8xWkkpA/oM NUbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SxsFzSkXV0gQtDP8RpTBJ4kwS/W/taKzLjgjjMVOgOc=; b=iqcio6oQ+ZBnRf3vW+9k8kUAHNCdeqdElpGHY5N3wmHKAtwZc5U6IdMCW/oNw/5qga Py/H5HMbljc0KwmZP9gjNHv40rvEcHHqN2kKP5/dJeyU/unMgktw08v0k5OmrXfCi4M/ rUgkE33tSVM0/4tRIsgiV1ql1c/nAbkf5tkcz4uNGOm3rVNG1rTSpE/dmTmtQakm3kz5 ZIpUPgdtFeRoQNh4HavdaPRcUFIZUPfKt/WsQUEn2JB0KM0wkFIULs3Uikj+bLimQ+UV JTtFcd6F/Aoplvr9T4TtZZqaTl55jl3A2mqVYhdVNCRXM2MRlhfjWkjTLUaxiAdWvfsQ Tefw== X-Gm-Message-State: ANoB5pkncT2Q6egjfGdXopnR98hY0DLtKUq0OiI9yk3MGpyIg7S1pB7W 4blpw/+C2mnXolDcDfBUwbM= X-Google-Smtp-Source: AA0mqf5eXpFCXFvYKlukHnD4Vy1Es1KwKA30qt8236HyZAdYxVgi/4+6kmvjjyiPBTiErWnmRvc1Wg== X-Received: by 2002:a17:902:7c0e:b0:186:7395:e36a with SMTP id x14-20020a1709027c0e00b001867395e36amr87193244pll.83.1670426260545; Wed, 07 Dec 2022 07:17:40 -0800 (PST) Received: from smtpclient.apple (TERREMARK-W.ear3.Washington1.Level3.net. [4.30.97.158]) by smtp.gmail.com with ESMTPSA id l8-20020a63ba48000000b00478c48cf73csm4601598pgu.82.2022.12.07.07.17.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Dec 2022 07:17:39 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-486C77A2-79BD-4CC7-BF44-BE16B519CF7E Content-Transfer-Encoding: 7bit From: Han So Mime-Version: 1.0 (1.0) Date: Wed, 7 Dec 2022 10:17:27 -0500 Message-Id: <4720D831-405D-4D9E-862D-01EC9B740418@gmail.com> References: <59FD8D95-50E8-4B66-B29A-AE19C1E110EF@gmail.com> In-Reply-To: <59FD8D95-50E8-4B66-B29A-AE19C1E110EF@gmail.com> To: Han So X-Mailer: iPhone Mail (20B101) Message-ID-Hash: 7OVS7IIPKN3JGUJZR5XZUTDTE7IP22CP X-Message-ID-Hash: 7OVS7IIPKN3JGUJZR5XZUTDTE7IP22CP X-MailFrom: hansolo2218@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Juliusz Chroboczek , galene@lists.galene.org X-Mailman-Version: 3.3.7 Precedence: list Subject: [Galene] Re: Federated servers or multiple turns? List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --Apple-Mail-486C77A2-79BD-4CC7-BF44-BE16B519CF7E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok, I printed out my version and the origin= al webrtc.configuration and it is exactly identical , yet mine fails at the r= elay with the above code.  This is odd to me.  Both PION logs star= t off the same and both fail to resolve the stun host at first, but the good= one eventually is able to ping a relay, whereas the bad version gets a fail= ed to dial TCP address connect refused and can not get server reflexive addr= ess udp4



Hans

On Dec 6, 2022, at 1:22 PM, Han S= o <Hansolo2218@gmail.com> wrote:

=EF=BB=BFCreated this new:

<= span style=3D"-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); col= or: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">func ICEConfigurati= on_new() *webrtc.Configuration {

<= span style=3D"-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); col= or: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">     = ;   now :=3D time.Now()
        var cf webrtc= .Configuration

        s:=3D webr= tc.ICEServer{
                U= RLs:       []string{"turn:turnserver.net:3428"},
  &= nbsp;             Username:   "admin",
                Credential: "1234= ",
                CredentialT= ype: webrtc.ICECredentialTypePassword,
        }


        cf.ICEServ= ers =3D append(cf.ICEServers, s)

<= span style=3D"-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); col= or: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">     = ;   iceConf :=3D configuration{

         =       conf:      cf,
=     &nbs= p;           timestamp: now,
    &nb= sp;   }

        conf.Store(&iceConf)

        return &iceConf.conf
}

Han

On Dec 5, 2022, at 5:03 PM, Han So &l= t;Hansolo2218@gmail.com> wrote:

=EF=BB=BFNow trying to update the ice conf= iguration and updated in one place you suggested.
Got and in= itial error 401 unauthorized =E2=80=A6 will continue to troubleshoot to see w= hy.  The configuration server struc looked good I thought.

Hans

On Dec 5, 2022, at 12:15 PM, Han So <Hansolo2218@gmail.com> w= rote:

=EF=BB=BFNvm, I was able to get ext= ernal coturn working - needed to open up ports between my local machine and t= he turn server

Hans

On Dec 5, 2022, at 11:38 AM, Han So &= lt;Hansolo2218@gmail.com> wrote:

=EF= =BB=BFRelay test seemed to work from the Galene server..  I can chat fi= ne and even see some good success messages in the coturn logs.. but audio an= d video does not work

=
Hans
<= span>
= On Dec 2, 2022, at 6:39 AM, Juliusz Chroboczek <jch@irif.fr> wrote:
<= br>
=EF=BB=BF

=
Attempted what you said, but it turned out we couldn=E2=80=99t eve= n get a simple
external turn server working.
<= /blockquote>

Strange.  Did the relay test wor= k on both sides?  (Client and server?)
= --Apple-Mail-486C77A2-79BD-4CC7-BF44-BE16B519CF7E--