Skip to content

Commit

Permalink
Fix homekit producer remote_addr
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Jun 16, 2024
1 parent d7286fa commit a56d335
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/homekit/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ func Dial(rawURL string, server *srtp.Server) (*Client, error) {
ID: core.NewID(),
FormatName: "homekit",
Protocol: "udp",
Source: conn.URL(),
RemoteAddr: conn.Conn.RemoteAddr().String(),
Source: rawURL,
Transport: conn,
},
hap: conn,
Expand Down

0 comments on commit a56d335

Please sign in to comment.