Fix pcConfig from compiling to a global
But note that maybe we should be constructing a new PCConfig each time Config is instantiated, rather than sharing it on the prototype.
Esse commit está contido em:
pai
1fd6cb870e
commit
359600ddc5
1 arquivos alterados com 1 adições e 2 exclusões
|
|
@ -19,8 +19,7 @@ class Config
|
||||||
connectionsPerClient: 1
|
connectionsPerClient: 1
|
||||||
|
|
||||||
# TODO: Different ICE servers.
|
# TODO: Different ICE servers.
|
||||||
pcConfig = {
|
pcConfig:
|
||||||
iceServers: [
|
iceServers: [
|
||||||
{ urls: ['stun:stun.l.google.com:19302'] }
|
{ urls: ['stun:stun.l.google.com:19302'] }
|
||||||
]
|
]
|
||||||
}
|
|
||||||
|
|
|
||||||
Carregando…
Adicionar tabela
Adicionar um link
Referência em uma nova issue