Need Help on Red5 in Oflademo - NetConnection.Connect.Closed - streaming

I'm trying to use some features in video streaming like adaptive bitrate streaming (automatic bandwith check that adjusts video quality based on customer bandwith). From sources that I got, I am told that I can use Red5 to achieve it. I have tested Red5 and it's almost successful but it's not working in the end.
Red5 is successfully activated in terminal, and from what I can see in localhost:5080 it seems to be working, but when I go to localhost:5080/demos/ofla_demo.html, I got NetConnection.Connect.Closed when I connect.
Is there code that I need to modify to enable run oflademo or is there anything else ?
Here is the Red5 log in terminal and in the web browser:
Red5 has been activated in terminal
Red5 in Ubuntu 12.04 Web browser - Server
Red5 in Windows 7 web browser - Client
Red5 in Oflademo from Ubuntu web browser - NetConnection.Connect.Closed
Here are screenshots:

You need to install oflaDemo application.
In your Ubuntu server, once you are connected to localhost:5080 , click on Install a ready made application on the bottom of the page.
Select oflaDemo on the next page, Install it.
Then try to establish connection

You should change location to rtmp://your-server-ip/oflaDemo

Related

Getting a HTTP ERROR 404 when I try to download Rational Test Workbench for Android. Why?

I am using IBM Mobile Test Workbench for Worklight 8.5.10 plugin for Eclipse and I am trying to add a device using my PC. I've done the same process on a Mac and it works fine no issues. However on my PC when I go to the Workbench URL in a browser, phone, or emulator I go to start the download and I receive this on all devices...
HTTP ERROR: 404 Problem accessing
/android/client/com.ibm.rational.test.mobile.android.client.ui-release.apk.
Reason:
Not Found
Does anybody have any idea why I would be getting this?
a good idea would be to check if your firewall is not blocking port 7878 or 8080 (the ones that are used by MTWW to communicate between device and workbench)
simple test for that : stop your firewall for 5 minutes, retry
if it works, it mean you'll have to configure this firewall to open this port
if you can't open this specific port, you can configure MTWW to change the default communication port (to use one that is open in your firewall) like this :
in MTW, open : windows => preferences => Test => performance Test
Report => Web report
check "Allow remote access from a web browser"
check "no security is required to access reports"
change value of "non-secure port" (default = 8080)
when done, it would be better to restart MTWW before retrying
if all of this fail, last solution is to manually install the client apk
apk is located there :
[IBM shared dir of your install]\plugins\com.ibm.rational.test.mobile.android.runtime_[some version number]\client
apk to install : com.ibm.rational.test.mobile.android.client.ui-release.apk
the simpler is use "adb connect [your device ip]" (if adb is not yet connected to your device), then "adb install [apkname]"
Jerome B.
After much trial and errors I finally fixed my issue. Here's the last thing I did to get it working. I uninstalled everything from Java, Eclipse, and IBM. I then reinstalled everything and placed Eclipse in My Documents and I changed Java versions to 1.6. After all of that it seems to be working fine. It doesn't make much sense.

Install wowza Media server on my webserver

i was installed wowza media server on my local pc (Ubuntu 13.04). and i was streamed correctly. but now i want to install wowza media server on my web server (linux). please tell any one how to install this media server on my hosting webserver and how to streaming there
Installing Wowza Media Server on your web server will be very similar to what you have already done on your local PC. If you plan to do HTTP adaptive streaming (Apple HLS, Adobe HDS, Microsoft Smooth Streaming, or MPEG DASH) from Wowza, then you just need to make sure that you do not run into a port 80 conflict with your web server. You would do this by either specifying a different HTTP port for Wowza (e.g., port 8080), or better yet, by using a separate IP address on the Web server for Wowza and then still using port 80 for both the web server and Wowza to ensure your content flows across most firewalls.
If you need more detailed help, just send email to support#wowza.com. Someone usually replies within a day.
-Chris
There is a script that installs the Wowza automatically. It works well for Centos OS, I don't know about Ubuntu support. Check this tutorial in this link!, it may help you. At least, it worked for me.
Check out this link. It guides you through the basic setup process. I recommend you install Ubuntu 12.04 LTS which is going to be supported till 2017. Also install open-ssh server, Apache2 web server, MySQL web server and PHP.

GWT - DevMode: 'gwt.google.com not found' - 'Cannot display web page'

really need some help.
I have been working for the past 3 days trying to get a webpage to open when I run my web based Java-GWT-eclipse program. IE gives me error "Internet Explorer cannot display webpage" and chrome says "The webpage is not available- The server at gwt.google.com can't be found, because the DNS lookup failed."
I have tried this project on multiple other computers with an older eclipse-gwt plugin installed and it works great. All of these computers are dev boxes and do not have internet access. It does, however, have a solid connection to the database (SQL dev works fine).
what i have tried
copied eclipse and gwt plugin files from another dev box and installed. Gave me above error.
deleted/ uninstalled everything and installed newest version eclipse and gwt plugin. I was able to install gwt in eclipse but it could not locate GWT-user.jar file and would not allow me to create project.
Tried #2 again, same problem. Tried again on another computer, same problem.
Applied older version SDK to newer eclipse version. Gave same error as posted above/ #1.
ran wireshark on a working dev and the problem dev and the problem dev box was trying to communicate with google while the good one was going to some local IP address.
messed around with every setting in eclipse and nothing has worked.
What is left to try??? I am going insane.
What is the web page you are trying to open: http://gwt.google.com ?
Does this page load if you write the url directly in the address box of your browser ?
Does Internet work in that computer? try to access google or any other page.
This error is a clear case of a miss-configuration on your PC internet stack:
The server at gwt.google.com can't be found, because the DNS lookup failed.
What does return this command in your console?
nslookup gwt.google.com
EDITED:
After reading your comments I figure out what is happening: your browser has not the gwt-plugin installed, so the first time it connects to a gwt-dev-mode app, the app redirects it to the gwt site to download the plugin and install it.
You have either, connect this computer to the internet to install the plugin the first time it is requested, or download the plugin and install it manually.

GWT: Running the development mode code server (from Eclipse)

i am only start learning GWT by following their tutorial on https://developers.google.com/web-toolkit/doc/2.1/tutorial/create
On that page, when i reach the heading Running the development mode code server (from Eclipse), i copied the generated url http://127.0.0.1:8888/StockWatcher.html?gwt.codesvr=127.0.0.1:9997 to my browser.
It eventually times out, says page not loading...the plugin page did not show up initially, so i manually installed the plugin...but it still times out...
On the screen, it says...
===============================================================================
The connection was reset
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web
==============================================================================
Am i missing any configurations etc?
Thanks very much in advance
It still looks like your browser is missing the GWT developer plugin. Try a different browser (preferably Chrome). You can also check the instalation of GWT in Eclipse. Look into Windows/Preferences and under Google/WebToolkit you should see checked GWT SDK. Also you can check if a jetty server runs on port 8888, when you type "netstat -na" on the command line.

How Can I stop gwt's embedded server

While developing an application using gwt in ecliplse crashed.
Now the server is running on the port 8888 I'm unable to stop it.
Nothing is showing in the console but I can access the application from the browser. How can I kill the instance of this embedded server?
as #jesse said in the comments 'jps -l' is the solution.
In eclipse you can do this from the "Development mode" view.
Click here to see the image