AWS Janus Gateway strangeness

Can anyone think of a reason why this might happen? (janus gateway is a webRTC gateway –

  • Free tier t2.micro AWS, brand new account
  • select ami-886e3aff (via, create instance, all defaults; new security group with all tcp and upd ports open; used default vpc, new key
  • chown 400 hsh7.pem
  • ssh -i hsh7.pem -v ubuntu@public-ip
  • installation steps below

result: go to http://public-ip/janus-gateway-streamtest.html in Firefox 40

In my house I can see a testcard.

On no other network can anyone see a testcard.



sudo apt-get update && sudo apt-get upgrade

sudo aptitude install libmicrohttpd-dev libjansson-dev libnice-dev libssl-dev libsrtp-dev libsofia-sip-ua-dev libglib2.0-dev libopus-dev libogg-dev libini-config-dev libcollection-dev pkg-config gengetopt libtool automake dh-autoreconf gupnp-igd-1.0

git clone
cd janus-gateway
./configure --disable-websockets --disable-data-channels --disable-rabbitmq --disable-docs --prefix=/opt/janus
sudo make install
sudo make configs

sudo pico /opt/janus/etc/janus/janus.plugin.streaming.cfg

type = rtp
id = 1
description = RPWC H264 test streaming
audio = yes
audioport = 8005
audiopt = 10
audiortpmap = opus/48000/2
video = yes
videoport = 8004
videopt = 96
videortpmap = H264/90000
videofmtp = profile-level-id=42e028\;packetization-mode=1

Installing gStreamer and Nginx

sudo apt-get install libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad libgstreamer-plugins-base1.0-dev

sudo aptitude install nginx

cd /var/www/html

sudo cp -r /opt/janus/share/janus/demos/* .

sudo curl -O

sudo service nginx start

test – 2 x windows

gst-launch-0.10 videotestsrc ! video/x-raw-rgb,width=640,height=480,framerate=30/1 ! videoscale ! videorate ! ffmpegcolorspace ! timeoverlay ! x264enc bitrate=256000 profile=1 tune=zerolatency ! rtph264pay ! udpsink host= port=8004

/opt/janus/bin/janus -F /opt/janus/etc/janus