Skip to content

Commit

Permalink
feat: add localAddress proc to WebRTC
Browse files Browse the repository at this point in the history
  • Loading branch information
lchenut committed Oct 31, 2024
1 parent 77537af commit 870902b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webrtc/webrtc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ proc accept*(

proc localCertificate*(self: WebRTC): seq[byte] =
self.dtls.localCertificate()

proc localAddress*(self: WebRTC): TransportAddress =
self.udp.laddr

0 comments on commit 870902b

Please sign in to comment.