-
August 24th, 2007, 03:00 PM
#1
Javascript library does not return error if LS server is down
Hi,
I have my web pages and LS javascript files installed on Apache and LS server running standalone.
When LS server is down, nothing appears or shows as such, it simply never goes to STREAMING mode. I made sure all status change listeners and server/client error listeners were set to display whatever comes, but nada.
I mapped the following LS functions:
lsPage.onClientError = notifyReply;
lsPage.onServerDeny = notifyServerError;
eng.onStatusChange = notifyStatusChange;
eng.onServerError = notifyServerError;
eng.onClientError = notifyReply;
Any idea ?
Thanks
A
-
August 27th, 2007, 11:24 AM
#2
rsouissi,
That's the correct behavior.
As the streaming connection is issued in a "forever-frame" we cannot know the reason why no data is coming (no difference between server down or pc disconnected from the internet)
If you don't get an onStatusChange("STREAMING") call than you know that you've not yet reached your server.
Similar Threads
-
By betasec in forum Client SDKs
Replies: 1
Last Post: June 8th, 2012, 08:52 AM
-
By athanasius in forum Client SDKs
Replies: 3
Last Post: December 3rd, 2009, 10:57 AM
-
By naitsir in forum Client SDKs
Replies: 9
Last Post: October 19th, 2009, 04:02 PM
-
By rd2008 in forum Client SDKs
Replies: 2
Last Post: April 28th, 2009, 10:03 AM
-
By DarioCrivelli in forum Client SDKs
Replies: 0
Last Post: December 22nd, 2006, 12:18 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:40 AM.
Bookmarks