Skip to content

Commit

Permalink
Update protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Nov 12, 2024
1 parent ec9ec4d commit 2bc9a31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/jfreymuth/oggvorbis v1.0.5
github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1
github.com/livekit/mediatransportutil v0.0.0-20240730083616-559fa5ece598
github.com/livekit/protocol v1.27.1-0.20241028171043-ee0a12bd25a5
github.com/livekit/protocol v1.27.2-0.20241112203928-f558b991de7c
github.com/livekit/psrpc v0.6.1-0.20240924010758-9f0a4268a3b9
github.com/livekit/server-sdk-go/v2 v2.2.2-0.20241015094126-b8538ae5d67b
github.com/mjibson/go-dsp v0.0.0-20180508042940-11479a337f12
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1 h1:jm09419p0lqTkD
github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1/go.mod h1:Rs3MhFwutWhGwmY1VQsygw28z5bWcnEYmS1OG9OxjOQ=
github.com/livekit/mediatransportutil v0.0.0-20240730083616-559fa5ece598 h1:yLlkHk2feSLHstD9n4VKg7YEBR4rLODTI4WE8gNBEnQ=
github.com/livekit/mediatransportutil v0.0.0-20240730083616-559fa5ece598/go.mod h1:jwKUCmObuiEDH0iiuJHaGMXwRs3RjrB4G6qqgkr/5oE=
github.com/livekit/protocol v1.27.1-0.20241028171043-ee0a12bd25a5 h1:XZXXukbyH80Y4vNiL8E6JKrgc1wOXPqIpz42L7pagLc=
github.com/livekit/protocol v1.27.1-0.20241028171043-ee0a12bd25a5/go.mod h1:BrACGxSTlbAe+T9uXLOiiWyYrJ2gNc0mTYmZJPq/4aA=
github.com/livekit/protocol v1.27.2-0.20241112203928-f558b991de7c h1:hDKTElZzPu6nFf0OdF7mTnF7ZqiqwXwavuY9u/P/9O8=
github.com/livekit/protocol v1.27.2-0.20241112203928-f558b991de7c/go.mod h1:BrACGxSTlbAe+T9uXLOiiWyYrJ2gNc0mTYmZJPq/4aA=
github.com/livekit/psrpc v0.6.1-0.20240924010758-9f0a4268a3b9 h1:33oBjGpVD9tYkDXQU42tnHl8eCX9G6PVUToBVuCUyOs=
github.com/livekit/psrpc v0.6.1-0.20240924010758-9f0a4268a3b9/go.mod h1:CQUBSPfYYAaevg1TNCc6/aYsa8DJH4jSRFdCeSZk5u0=
github.com/livekit/server-sdk-go/v2 v2.2.2-0.20241015094126-b8538ae5d67b h1:R1GpKwVbSYsG08k5sIkNCukvnrkOE18R8IO1YeujR8o=
Expand Down
3 changes: 1 addition & 2 deletions pkg/sip/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package sip

import (
"errors"
"fmt"
"net"
"net/netip"
"strconv"
Expand Down Expand Up @@ -170,7 +169,7 @@ func (u URI) ToSIPUri() *livekit.SIPUri {
url := &livekit.SIPUri{
User: u.User,
Host: u.GetHost(),
Port: fmt.Sprintf("%d", u.GetPort()),
Port: uint32(u.GetPort()),
Transport: SIPTransportFrom(u.Transport),
}

Expand Down

0 comments on commit 2bc9a31

Please sign in to comment.