Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(spot): pass JitsiConnection to ProxyConnectionService to get TURN

paweldomas19a27e75bd4f
diff --git a/conference.js b/conference.js
index 7c4c0084b1..29a3e389ae 100644
--- a/conference.js
+++ b/conference.js
@@ -2699,6 +2699,13 @@ export default {
onProxyConnectionEvent(event) {
if (!this._proxyConnection) {
this._proxyConnection = new JitsiMeetJS.ProxyConnectionService({
+
+ /**
+ * Pass the {@code JitsiConnection} instance which will be used
+ * to fetch TURN credentials.
+ */
+ jitsiConnection: APP.connection,
+
/**
* The proxy connection feature is currently tailored towards
* taking a proxied video stream and showing it as a local