I'm trying to setup Flash Media Server with an external Apache in order to stream some vod content in a HTML5 video Player in chrome browser.
I've followed the instructions Adobe Help but that doesn't help much. I can see FMS and FMSHttpd services running in the services list.
Normal html pages display fine, however, the video is not streaming.
I don't want to use the Apache that comes in the same package.
I'm streaming it to a html5 video element and the code goes like this in html
<video controls="controls" autoplay="autoplay"
src="http://localhost/vod/sample2_1000kbps.f4v" width="480" height="352">Video Tag not supported</video>
The FMS and Apache both are in a windows machine, but in different locations.
The video plays fine when I use the Apache of the FMS Package.
I know i might have made a mistake in several places in this complex setup, however, any help will be appreciated.
Thanks in advance
Make sure you are attempting to use Apache (even one you install yourself). Using another web server like IIS will not work.
Can you request the URL directly? http://localhost/vod/sample2_1000kbps.f4v. You will need to make sure that the manually installed Apache is configured to look at the correct location on disk, where the file is actually located.
That URL looks like you are trying to progressive download the file. FMS is not involved in this at all. Can you explain what you are trying to achieve in more detail.
If you are not using the Apache installed by FMS you should not even see FMFShhtp in the list of services.
Stop fmshttpd. in your manual Apache httpd.conf make sure that DocumentRoot is pointing to the correct location where the vod/sample2_1000kbps.f4v file is located. Start the manual Apache. Request the file. What is in the Apache access/error logs?
Why do you not want to use the Apache shipped with FMS?
i guess i have figured that out. built in apache was listening to port 8134 instead of default 80. so when i put the URL as computername:8134 it all worked fine.
Related
I am trying to complete a test case that deploys a war and makes some REST requests.
I want to use Payara Micro JAVA API and I've had a good start with setting up a boostrap
bootStrap = PayaraMicro.getInstance().setHttpPort(6060).bootStrap();
... and deploying my war
bootStrap.deploy(new File("{path}"));
My war deploys correctly.
Where do I go from here? Where do I point my requests to?
The context path is the same as the name of the WAR you've deployed. (See example cURL in this README)
So if you are deploying my-war.war with your settings above, then you would go to:
http://127.0.0.1:6060/my-war
OK so I was able to setup up a standard javax.ws.rs.client.WebTarget and Client and make regular requests after all.
It's nice to be able to design system test in JUnit. Payara rocks ;)
I,m using the flash file upload solution to attach files in Domino applications.
Basically it works with dojo and flash.
It was working normally. The Security Information area decided to change the browser security (IE 8)to high.
The solution uses CDN and stopped work. The question is:
Is there way to copy the content from CDN to local network? How?
Is there a personalized configuration in IE that permits access to CDN site?
Thanks a lot!
Marcus.
Is it possible to get the server load information of a webserver deployed on a ServiceMix / Fuse ESB.
I dont want to use Jconsole but get the information by running a java file and writing the values into text file.
Could someone point me to some code that I can run on my machine?
Cheers,
Kunal
You can also intall jolokia i ServiceMix which exposes a REST interface over JMX. This makes it much easier for non Java developers and programming languages to access the metrics. It's just a HTTP call to get the data.
http://www.jolokia.org/
We use this library for the http://hawt.io management console so we can get the data easily from a moderne HTML5 web console.
I won't write the code you ask for, but..
Everything in JConsole is accessed through JMX. And everything in JMX is accessible via code as well (basic tutorial here).
So just locate the value/values you are intressted in using JConsole, then just extract them using the JMX api in code.
I need guidance on how to host a cakephp app on cpanel. Apparently when I put my app on a shared server I get an error missing controller and yet all was well when running the app on localhost. please help
cPanel is just a control panel for your box and makes to change set to Apache or light speed that you couldn't do without it. That being said, the only things I would check first would be to check your database connection, makes sure your server has mod_rewrite enabled and that you're using a compatible version of php for cakephp AND your plugins.
I need someone to point to right direction in both silverlight in WPF video streaming.
I have two projects, one is a Silverlight web page and the other is a WPF project. The goal is, on the WPF application the user is able to upload a video to the server, and the Silverlight web page streams it using a any web protocol (most likely http).
I'm using Expression Encoder SDK to build the code that re-encodes the video files (since the original video files will be very big, over 1gb each), and so far I think I've got it right, but now I need to stream it on the web, and I'm not being able to do so.
The silverlight web page is hosted on a Windows Server 2008 R2 with IIS 7.0.
I've been reading about IIS streaming, but everything I find points that every time the user wants to add a video, it must go to IIS interface and add it manually, and that cannot be the only way, since the user knows nothing about IIS.
If possible I would like some code examples on how to achieve streaming through IIS, and some pointer on what I could do, or am doing wrong...
Thanks
I dont see why user have to manually do it everytime in IIS. From your WPF app, make it store your video in a specific location inside your IIS. Also do a one time configuration in your IIS to deliver the video extension you are uploading, if its mp4 or wmv, give it the MIME type, "application/octet-stream", so when a user requests it, it will be delivered by IIS.
No, configure your silverlight app to read the file from your IIS directory (you must be knowing the filename it got saved in IIS in the first place.)
If you need to have a "streaming" experience, IIS won't be enough, you will have to use a streaming server like windows media server or flash media server.
Hope this helps.