licode icon indicating copy to clipboard operation
licode copied to clipboard

Where to get the source code of demo rooms like tryit(http://chotis2.dit.upm.es/)

Open xiliu opened this issue 12 years ago • 8 comments

Some demo rooms in the http://chotis2.dit.upm.es/ are very nice, i want to get those source code of demo,so where i can get those demo? thanks..

xiliu avatar May 25 '14 13:05 xiliu

The code of the demos would be very helpful for me, too. Are there some demos beside of the basic demo available as source code?

am1337 avatar Jun 25 '14 10:06 am1337

Hi,

you can start from the basic_example demo and add basicaly CSS to improve it :). With this and the client API documentation it should be easy, If you have any doubt you can also join Licode's developers mailing list! http://lynckia.com/licode/community.html

BR!

aalonsog avatar Jul 17 '14 14:07 aalonsog

Hi, in case any of you is still interested in getting the source code of the demos, it can be downloaded from here https://github.com/ging/licode-demos

Best regards

nachoaguadoc avatar Nov 17 '15 11:11 nachoaguadoc

Could someone post a working example of config.js with representative values please? I found where to set the port in app.js (it defaulted to 80 which was used). What goes in config.service? The API did not help me. I am getting an express server 500 error, whatever I Try. Thanks.

var config = {};

config.nuve_host = '127.0.0.1'; config.service = {}; config.service.id ='54844eb4f19b0ffac799aa27'; config.service.key = '3520';

config.demo_host = 'xxx.xxx.xxx.xxx'; // Without "http", just the host. config.https = false;

//config.plain = true;

module.exports = config;

ghost avatar Dec 04 '15 03:12 ghost

For service.id and service.key you can use

config.nuve.superserviceID
config.nuve.superserviceKey

form licode_config in your licode installation, the rest I think should be pretty self-explanatory.

lodoyun avatar Dec 17 '15 14:12 lodoyun

I'm getting same express 500 error!

kanwarujjaval avatar Feb 11 '16 16:02 kanwarujjaval

Hi I get the same error I will provide some of my configuration: ~/licode I have the latest version from github (a fresh installation)

  • Then I started licode
~/licode/scripts/initLicode.sh
  • Then clone the licode demos into my home directory and copy configuration, I also created self signed certificate. My config content I have to add the reference to the licode/licode_config to get value from nuve.superserviceID
var config = {};
var config_licode = require('../licode/licode_config');
config.nuve_host = '127.0.0.1';
config.service = {};
config.service.id =config_licode.nuve.superserviceID;
config.service.key = config_licode.nuve.superserviceKey;

config.demo_host = 'mi.public.ip'; // Without "http", just the host.
config.https = true;

//config.plain = true;

module.exports = config;
  • Excute the application with command _sudo npm start _ and get Express error 500 and shows a log error
undefined
GET / 500 9ms

If i go to the url /admin shows form but after validate doesn't work, could be related with the comunication with erizo?

Any idea?

abertranb avatar Mar 04 '16 07:03 abertranb

Hello I set the config.nuve_host = 'http://127.0.0.1:3000/';

and it works! But i have an issue with mi instances because is a Amazon AWS and shows private ip I will try to solve it

abertranb avatar Mar 04 '16 09:03 abertranb