Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 780
  • Last Modified:

How To Front VLC With IIS or Apache Running On The Same Server

Hello.
I have a the Apache 2.2 that came with FMS 4.5 and it listens on 8134. Prior to building an IIS site and running it on 1980, we were able to view the live stream via http://localhost:8134.
Now I'm trying to migrate to VLC so that we can switch to HTML5 but I cannot seem to figure out how to run it through Apache (or IIS) so that I can use the application folders in the webroot.

There are several tutorials on the web referencing using VLC as a media server that state
"simply front vlc with apache" with no further explanation.
Can anyone explain the procedure for me please?

I"m pretty sure htat the present environment is that Flash Media Server 4.5 streams the RTMP stream to Apache on 1935
0
A_AmericanELectric
Asked:
A_AmericanELectric
  • 2
  • 2
1 Solution
 
skullnobrainsCommented:
vlc is a server by itself. they probably expect you to use apache as a proxy using proxypass and proxypassreverse directives. it is much simpler not to front vlc with apache unless you have reasons to expect something from it's caching features. RTMP is cachable (or supposed to be) but this is only meaningfull if many clients read the same flow at the same time
0
 
A_AmericanELectricAuthor Commented:
I believe that is the case. The issue is latency.I can see the stream in real time and the latlatency from fms is mostly not even noticeable.
The vlc (http) stream embedded on a sample page lagged over 60 sec.
Are we talking about the same thing?
0
 
skullnobrainsCommented:
not sure
- did you access vlc directly ? or through apache ? with what config ?
- are you using rtmp or plain http ?

using plain http over proxypass will definitely produce huge lags because apache will attempt to fetch the whole stream, cache it and then send it to the client... but it will start streaming the content once it reaches a specific size or query time
0
 
A_AmericanELectricAuthor Commented:
Please see this post as question has chganged:
http://rdsrc.us/tN2jeX
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now