Ok, I printed out my version and the original webrtc.configuration and it is exactly identical , yet mine fails at the relay with the above code.  This is odd to me.  Both PION logs start 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 failed to dial TCP address connect refused and can not get server reflexive address udp4



Hans

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

Created this new:

func ICEConfiguration_new() *webrtc.Configuration {

        now := time.Now()
        var cf webrtc.Configuration

        s:= webrtc.ICEServer{
                URLs:       []string{"turn:turnserver.net:3428"},
                Username:   "admin",
                Credential: "1234",
                CredentialType: webrtc.ICECredentialTypePassword,
        }


        cf.ICEServers = append(cf.ICEServers, s)

        iceConf := configuration{
                conf:      cf,
                timestamp: now,
        }
        conf.Store(&iceConf)

        return &iceConf.conf
}
 
And edited the webclient.go in that one place but this did not work

Han

On Dec 5, 2022, at 5:03 PM, Han So <Hansolo2218@gmail.com> wrote:

Now trying to update the ice configuration and updated in one place you suggested.
Got and initial error 401 unauthorized … will continue to troubleshoot to see why.  The configuration server struc looked good I thought.

Hans

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

Nvm, I was able to get external coturn working - needed to open up ports between my local machine and the turn server

Hans

On Dec 5, 2022, at 11:38 AM, Han So <Hansolo2218@gmail.com> wrote:

Relay test seemed to work from the Galene server..  I can chat fine and even see some good success messages in the coturn logs.. but audio and video does not work

Hans

On Dec 2, 2022, at 6:39 AM, Juliusz Chroboczek <jch@irif.fr> wrote:



Attempted what you said, but it turned out we couldn’t even get a simple
external turn server working.

Strange.  Did the relay test work on both sides?  (Client and server?)