diff --git a/webrtc/webrtc.nim b/webrtc/webrtc.nim index 3fde21f..ba2ff87 100644 --- a/webrtc/webrtc.nim +++ b/webrtc/webrtc.nim @@ -50,3 +50,6 @@ proc accept*( proc localCertificate*(self: WebRTC): seq[byte] = self.dtls.localCertificate() + +proc localAddress*(self: WebRTC): TransportAddress = + self.udp.laddr