VRFS-580 added calls to SessionSetConnectionStatusRefreshRate for client csTimer

This commit is contained in:
Jonathan Kolyer 2014-02-14 02:36:10 -06:00
parent 614547a9dd
commit 470150c661
3 changed files with 7 additions and 0 deletions

View File

@ -303,6 +303,10 @@
}
function SessionSetConnectionStatusRefreshRate(milliseconds) {
dbg('SessionSetConnectionStatusRefreshRate: ' + milliseconds);
}
function SessionSetControlState(stringValue) {
dbg('SessionSetControlState: ' + stringValue);
}
@ -722,6 +726,7 @@
// Broadcasting
this.SessionLiveBroadcastStart = SessionLiveBroadcastStart;
this.SessionLiveBroadcastStop = SessionLiveBroadcastStop;
this.SessionSetConnectionStatusRefreshRate = SessionSetConnectionStatusRefreshRate;
// fake calls; not a part of the actual jam client
this.RegisterP2PMessageCallbacks = RegisterP2PMessageCallbacks;

View File

@ -170,6 +170,7 @@
context.jamClient.SessionRegisterCallback("JK.HandleBridgeCallback");
context.jamClient.RegisterRecordingCallbacks("JK.HandleRecordingStartResult", "JK.HandleRecordingStopResult", "JK.HandleRecordingStarted", "JK.HandleRecordingStopped", "JK.HandleRecordingAborted");
context.jamClient.SessionSetAlertCallback("JK.AlertCallback");
context.jamClient.SessionSetConnectionStatusRefreshRate(1000);
// If you load this page directly, the loading of the current user
// is happening in parallel. We can't join the session until the

View File

@ -119,6 +119,7 @@
// 'unregister' for callbacks
context.jamClient.SessionRegisterCallback("");
context.jamClient.SessionSetAlertCallback("");
context.jamClient.SessionSetConnectionStatusRefreshRate(0);
updateCurrentSession(null);
currentSessionId = null;
}