|
|
@@ -20,13 +20,6 @@ var config = { // eslint-disable-line no-unused-vars
|
|
20
|
20
|
//focusUserJid: 'focus@auth.jitsi-meet.example.com', // The real JID of focus participant - can be overridden here
|
|
21
|
21
|
//defaultSipNumber: '', // Default SIP number
|
|
22
|
22
|
|
|
23
|
|
- // The STUN servers that will be used in the peer to peer connections
|
|
24
|
|
- p2pStunServers: [
|
|
25
|
|
- { urls: "stun:stun.l.google.com:19302" },
|
|
26
|
|
- { urls: "stun:stun1.l.google.com:19302" },
|
|
27
|
|
- { urls: "stun:stun2.l.google.com:19302" }
|
|
28
|
|
- ],
|
|
29
|
|
-
|
|
30
|
23
|
// The ID of the jidesha extension for Chrome.
|
|
31
|
24
|
desktopSharingChromeExtId: null,
|
|
32
|
25
|
// Whether desktop sharing should be disabled on Chrome.
|
|
|
@@ -92,13 +85,26 @@ var config = { // eslint-disable-line no-unused-vars
|
|
92
|
85
|
disableRtx: false,
|
|
93
|
86
|
// Sets the preferred resolution (height) for local video. Defaults to 720.
|
|
94
|
87
|
resolution: 720,
|
|
95
|
|
- // Enables peer to peer mode. When enabled system will try to establish
|
|
96
|
|
- // direct connection given that there are exactly 2 participants in
|
|
97
|
|
- // the room. If that succeeds the conference will stop sending data through
|
|
98
|
|
- // the JVB and use the peer to peer connection instead. When 3rd participant
|
|
99
|
|
- // joins the conference will be moved back to the JVB connection.
|
|
100
|
|
- enableP2P: true
|
|
101
|
|
- // How long we're going to wait, before going back to P2P after
|
|
102
|
|
- // the 3rd participant has left the conference (to filter out page reload)
|
|
103
|
|
- //backToP2PDelay: 5
|
|
|
88
|
+ // Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
|
|
|
89
|
+ p2p: {
|
|
|
90
|
+ // Enables peer to peer mode. When enabled system will try to establish
|
|
|
91
|
+ // direct connection given that there are exactly 2 participants in
|
|
|
92
|
+ // the room. If that succeeds the conference will stop sending data
|
|
|
93
|
+ // through the JVB and use the peer to peer connection instead. When 3rd
|
|
|
94
|
+ // participant joins the conference will be moved back to the JVB
|
|
|
95
|
+ // connection.
|
|
|
96
|
+ enabled: true,
|
|
|
97
|
+ // The STUN servers that will be used in the peer to peer connections
|
|
|
98
|
+ stunServers: [
|
|
|
99
|
+ { urls: "stun:stun.l.google.com:19302" },
|
|
|
100
|
+ { urls: "stun:stun1.l.google.com:19302" },
|
|
|
101
|
+ { urls: "stun:stun2.l.google.com:19302" }
|
|
|
102
|
+ ],
|
|
|
103
|
+ // If set to true, it will prefer to use H.264 for P2P calls (if H.264
|
|
|
104
|
+ // is supported).
|
|
|
105
|
+ preferH264: false
|
|
|
106
|
+ // How long we're going to wait, before going back to P2P after
|
|
|
107
|
+ // the 3rd participant has left the conference (to filter out page reload)
|
|
|
108
|
+ //backToP2PDelay: 5
|
|
|
109
|
+ }
|
|
104
|
110
|
};
|