sh autogen.sh

301 views
Skip to first unread message

Chetan Motkari

unread,
Nov 25, 2014, 9:12:52 AM11/25/14
to meetech...@googlegroups.com
During installation when i hit the command

sh autogen.sh

i got

root@ubuntu14base:~/rabbitmq-c# sh autogen.sh
sh: 0: Can't open autogen.sh

please help why this message is occur?
Thank you.

Nicholas Wylie

unread,
Nov 25, 2014, 4:31:50 PM11/25/14
to meetech...@googlegroups.com
The step you seem to be missing is actually downloading the Janus source code. You need to do something like the following:

cd ~
cd janus-gateway
./autogen.sh

and then continue with the installation from there.

surendra tarle

unread,
Nov 25, 2014, 11:37:55 PM11/25/14
to meetech...@googlegroups.com
Hi nicholas,

After .autogen.sh command i have fired below commands on server.
/configure --prefix=/opt/janus
	make
	make install
        make configs

when i fired command "make configs" i got below logs on server

make configs
/bin/mkdir -p /opt/janus/etc/janus
cp "/root/janus-gateway/conf/janus.cfg.sample" "/opt/janus/etc/janus/janus.cfg"; cp "/root/janus-gateway/conf/janus.plugin.audiobridge.cfg.sample" "/opt/janus/etc/janus/janus.plugin.audiobridge.cfg"; cp "/root/janus-gateway/conf/janus.plugin.echotest.cfg.sample" "/opt/janus/etc/janus/janus.plugin.echotest.cfg"; cp "/root/janus-gateway/conf/janus.plugin.recordplay.cfg.sample" "/opt/janus/etc/janus/janus.plugin.recordplay.cfg"; cp "/root/janus-gateway/conf/janus.plugin.sip.cfg.sample" "/opt/janus/etc/janus/janus.plugin.sip.cfg"; cp "/root/janus-gateway/conf/janus.plugin.streaming.cfg.sample" "/opt/janus/etc/janus/janus.plugin.streaming.cfg"; cp "/root/janus-gateway/conf/janus.plugin.videocall.cfg.sample" "/opt/janus/etc/janus/janus.plugin.videocall.cfg"; cp "/root/janus-gateway/conf/janus.plugin.videoroom.cfg.sample" "/opt/janus/etc/janus/janus.plugin.videoroom.cfg"; cp "/root/janus-gateway/conf/janus.plugin.voicemail.cfg.sample" "/opt/janus/etc/janus/janus.plugin.voicemail.cfg";


Please let me know what next step i have to take to start or configure janus and we need your help.

Thank you


Nicholas Wylie

unread,
Nov 25, 2014, 11:58:27 PM11/25/14
to meetech...@googlegroups.com
It looks like you've got everything installed now. You should be able to run Janus. The command "make configs" simply installs the default configuration files for Janus and the example plugins.

To run Janus with the default configuration, try:
cd /opt/janus
./bin/janus

As Lorenzo mentioned in the other post, you can find the configuration files in the "/opt/janus/etc/janus" directory. I would suggest that at the very least, you probably want to change the SSL certificate and key that the gateway is using. If you are just testing the gateway, then a self signed certificate generated with the "openssl" command should be sufficient (a google search will find you a tutorial on creating a self signed certificate).

If you need more information about the configuration options for Janus, have a look at the README file on github (https://github.com/meetecho/janus-gateway) and the default configuration files (full of useful comments).

surendra tarle

unread,
Nov 26, 2014, 1:15:54 AM11/26/14
to meetech...@googlegroups.com
Hello Nicholas,

thank you for your kind update.

i have done all installations for janus but when i tested url http://198.154.251.54:8088/ on browser so its showing blank page.

i have some server logs please check it.

root@ubuntu14base:/opt/janus/bin# ./janus
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Gateway) v0.0.6
---------------------------------------------------

Reading configuration from /opt/janus/etc/janus/janus.cfg
Checking command line arguments...
Debug/log level is 4
Adding 'vmnet' to the ICE ignore list...
Using 198.154.251.54 as local IP...
Initializing ICE stuff (IPv6 candidates disabled)
Fingerprint of our certificate: C5:5F:DA:7D:84:47:B1:BF:6B:55:16:62:48:31:3E:D3:F1:7B:25:89:92:4A:4B:4D:4D:D9:D5:AF:EA:D8:15:44
Plugins folder: /opt/janus/lib/janus/plugins
Loading plugin 'libjanus_audiobridge.so'...
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_videocall.so'...
AudioBridge watchdog started
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_sip.so'...
VideoCall watchdog started
JANUS SIP plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
SIP watchdog started
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
VideoRoom watchdog started
JANUS Record&Play plugin initialized!
Loading plugin 'libjanus_echotest.so'...
Record&Play watchdog started
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
Echotest watchdog started
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_streaming.so'...
VoiceMail watchdog started
JANUS Streaming plugin initialized!
Streaming watchdog started
HTTP webserver started (port 8088, /janus path listener)...
[WARN] HTTPS webserver disabled
WebSockets server started (port 8188)...
[WARN] Secure WebSockets server disabled
[WARN] RammitMQ support disabled
[WARN] Admin/monitor HTTP webserver disabled
[WARN] Admin/monitor HTTPS webserver disabled
Sessions watchdog started
[ERR] [janus.c:janus_ws_handler:453:] Invalid url / ((null))
[ERR] [janus.c:janus_ws_handler:453:] Invalid url / ((null))
[ERR] [janus.c:janus_ws_handler:453:] Invalid url / ((null))
======================================================

Please help me to resolve this problem and i would appreciated for your help.

Thank you

Nicholas Wylie

unread,
Nov 26, 2014, 1:30:54 AM11/26/14
to meetech...@googlegroups.com
Have you read the documentation on the main website?


That page explains the problem. Janus is a general purpose webrtc gateway, the interface on port 8088 is the RESTful http interface, not a web server.

surendra tarle

unread,
Nov 26, 2014, 2:03:42 AM11/26/14
to meetech...@googlegroups.com
Hello Nicholas,

I am not understood how to deploy and can you tell me in simple way.

Deploying Janus behind a web frontend


exact modifications and configurations so i will try and then check

Thank you

Lorenzo Miniero

unread,
Nov 26, 2014, 2:13:02 AM11/26/14
to meetech...@googlegroups.com
Surendra,

the documentation on deployment should be quite self explainatory. Just follow the guidelines there and you'll be fine.

Lorenzo

surendra tarle

unread,
Nov 26, 2014, 2:28:48 AM11/26/14
to meetech...@googlegroups.com
Hello Lorenzo,

I have done

A quick and easy web server deployement  on server as below:

php -S 0.0.0.0:8000

but when i access the link http://198.154.251.54:8000 its showing below message on browser.

Not Found

The requested resource / was not found on this server.

Please assist me to check demo on server.

Thank you

Nicholas Wylie

unread,
Nov 26, 2014, 2:59:00 AM11/26/14
to meetech...@googlegroups.com
If you don't specify a document root, I believe that the web server will treat your current working directory as the document root. Probably not what you want. Try:

php -S 0.0.0.0:8000 -t /opt/janus/share/janus/demos/

surendra tarle

unread,
Nov 26, 2014, 5:36:51 AM11/26/14
to meetech...@googlegroups.com
Hello Nicholas,

As per your instructions we have installed and integrated configurations for janus on server and demo also working fine.

Now we are testing the demo on server and for testing purpose we have recorded the video. but when we played the recorded video, video gets freez after 3 to 4 seconds and audio working absolutely fine.

steps done for video recording:

Demos>>Video MCU>>start>>join room>>recording video>>stop

steps to watch recorded video:-

Demos>>Recorder/Playout/start>>play

we have one recorded video that named "surendra" you can and verify freezing problem at your end.
 
Please check the below link and try to record and play video to replicate the video freezing problem at your end.

http://198.154.251.54

Please check and suggest  any best solutions for freezing issue.

we are awaiting for your response.

Nicholas Wylie

unread,
Nov 26, 2014, 4:27:27 PM11/26/14
to meetech...@googlegroups.com
Sorry, I have not yet had much of a chance to try out the video streaming outside of a local network, so I cannot be of much help.

I believe there is a current issue on github that may be related to this. Someone else might be able to help a bit more.
Reply all
Reply to author
Forward
0 new messages