-
November 5th, 2007, 04:17 PM
#9
The server running LS Demo must have Domain?
Hi Mone,
Could you help me to confirm this quesiton? Thanks!
If I config Demo on server which has public IP address but no domain name,
how should I set domain and LSHost?
One important point: Someone will visit this Demo through internet.
I try to write web page like below, but it throw exception like "ER Bind Unable to find Engine..."
<script>
var lsPage = new PushPage();
lsPage.context.setDomain("55.55.55.55");
lsPage.onEngineCreation = function(engine) {
engine.connection.setLSHost("55.55.55.55");
engine.connection.setLSPort(8080);
engine.connection.setAdapterName("DEMO");
engine.changeStatus("STREAMING");
}
lsPage.bind();
</script>
Or
<script>
var lsPage = new PushPage();
lsPage.context.setDomain(null);
lsPage.onEngineCreation = function(engine) {
engine.connection.setLSHost("55.55.55.55");
engine.connection.setLSPort(8080);
engine.connection.setAdapterName("DEMO");
engine.changeStatus("STREAMING");
}
lsPage.bind();
</script>
Similar Threads
-
By georgeeapen in forum Client SDKs
Replies: 1
Last Post: May 25th, 2009, 09:21 AM
-
By kg_can in forum Client SDKs
Replies: 1
Last Post: March 7th, 2008, 09:11 AM
-
By eduramires in forum Client SDKs
Replies: 3
Last Post: February 4th, 2008, 09:14 AM
-
By eduramires in forum General
Replies: 1
Last Post: January 29th, 2008, 05:03 PM
-
By RichP1 in forum Client SDKs
Replies: 6
Last Post: December 18th, 2007, 01:57 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:12 AM.
Bookmarks