Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Switching to your own web server

By default, all REST queries follow to the local address: http://localhost:9091/EchoApp

The invocations of REST methods look as follows then:

  • http://localhost:9091/EchoApp/connect
  • http://localhost:9091/EchoApp/playStream
  • http://localhost:9091/EchoApp/publishStream

and so on.

This happens because the appKey=defaultApp parameter is sent when connection to the WCS server, and the default app for this key is this URL: http://localhost:9091/EchoApp


 To change these settings, enter to the command line interface of the WCS server core via SSH:

ssh -p 2001 admin@localhost

Use the password you have specified when installing WCS.

The standard password is: admin

Upon successful authorization, WCS creates a command line:


You can execute the show apps command to see the current applications:

%show apps

Or enter the help command to display the list of available commands:


Then, we create our own REST URL. It is created using the add app command.

Suppose, we allocated the following address on the web server for REST methods:


and so on.

So we configure this as follows:

%add app myApp myAppKey ""

This command creates a new URL,, and assigns this URL for usage if a client sent the appKey=’myAppKey’ during connection.

Therefore, if the newly created myAppKey is specified while creating the connection, the control is passed to the assigned URL


  • No labels