We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f5eece commit 54893f2Copy full SHA for 54893f2
html/janus.js
@@ -449,7 +449,7 @@ function Janus(gatewayCallbacks) {
449
if(gatewayCallbacks.withCredentials !== undefined && gatewayCallbacks.withCredentials !== null)
450
withCredentials = gatewayCallbacks.withCredentials === true;
451
// Optional max events
452
- var maxev = null;
+ var maxev = 10;
453
if(gatewayCallbacks.max_poll_events !== undefined && gatewayCallbacks.max_poll_events !== null)
454
maxev = gatewayCallbacks.max_poll_events;
455
if(maxev < 1)
@@ -538,7 +538,7 @@ function Janus(gatewayCallbacks) {
538
function handleEvent(json, skipTimeout) {
539
retries = 0;
540
if(!websockets && sessionId !== undefined && sessionId !== null && skipTimeout !== true)
541
- setTimeout(eventHandler,200);
+ eventHandler();
542
if(!websockets && Janus.isArray(json)) {
543
// We got an array: it means we passed a maxev > 1, iterate on all objects
544
for(var i=0; i<json.length; i++) {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments