| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2023-10-14 23:54:24 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2023-10-14 23:54:24 UTC |
| parent | 54cf537088af0b034711d4a524a8deb327be75ad |
| xmpp/jingle/SessionDescription.hx | +2 | -2 |
diff --git a/xmpp/jingle/SessionDescription.hx b/xmpp/jingle/SessionDescription.hx index c23fe33..d7b9d56 100644 --- a/xmpp/jingle/SessionDescription.hx +++ b/xmpp/jingle/SessionDescription.hx @@ -579,12 +579,12 @@ class IceCandidate { protocol: transport.toLowerCase(), priority: priority, ip: connectionAddress, - port: port + port: port, + generation: parameters.get("generation") ?? "0" }; if (parameters.get("typ") != null) attrs.set("type", parameters.get("typ")); if (parameters.get("raddr") != null) attrs.set("rel-addr", parameters.get("raddr")); if (parameters.get("rport") != null) attrs.set("rel-port", parameters.get("rport")); - if (parameters.get("generation") != null) attrs.set("generation", parameters.get("generation")); if (parameters.get("tcptype") != null) attrs.set("tcptype", parameters.get("tcptype")); return new Stanza("candidate", attrs); }