Skip to main content
Sv_Bell
Known Participant
April 26, 2012
Answered

Need a hand to configure FMS 4.5 to output HTTP stream...

  • April 26, 2012
  • 1 reply
  • 3681 views

Hi folks!

I'm trying to setup Flash Media Server (Streaming server) and I'm having issues with outputting HTTP stream.

The system works very well with the Flash ooutput, but for some reason the livepkgr won't work. Tried several things over the past two weeks, I've went thru docs and I don't know anymopre what else I can try... The source of the video feed is upstreamed from my own home computer, via Flash Live Encoder.

I operate a dedicated server, running Windows 2008 Server. The default web site is IIS. I configured the ports so that port 80 is the default IIS inetpub/webroot, and the FMS 4.5 install is accessed via port 8134. So the IP http://184.107.48.113 opens the default Windows IIS, and http://184.107.48.113:8134 takes the request to the FMS install.

The video stream is live on the Flash server, I can see it in the console, the livepkgr appears to be working, and I do see the .STREAM file being generated in the _definst_/livebroadcast/livestream folder. So the server works, and process the HTTP output.

I believe the URL I should use to access the output HLS stream is: http://184.107.48.113:8134/livepkgr/_definst_/livebroadcast/livestream.f4m.m3u8

but it returns a file not found message. Is there something wrong with the URL syntax? Or there is something else in the .conf files I must tweak? Or is it an issue with Apache 2.2 configuration?

You can see the live Flash stream from my web site http://www.blackflag.tv I want to change this Flash stream to HTTP stream.

Thanks for your help folks!!!

-sv bell

This topic has been closed for replies.
Correct answer ShivenK

And out of curiosity, I entered in Quicktime player the link

http://184.107.48.113:8134/hls-live/streams/livepkgr/events/_definst_/livebroadcast/livestreamNum217957.ts

and the player does displays a message saying it's load the stream, but nothing else.

It's missing a little piece in the puzzle, somewhere, for it to work...


Ok. Here are a few things which I'd like you to do.

1. Stop the publishing.

2. Go to the FMS applications folder and delete everything uder applications/livepkgr/streams and also remove the *.stream file.

3. Now Restart the publishing.

4. Create crossdomain.xml with the below content, and place this xml in your webroot.

<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>

          <allow-access-from domain="*" />

</cross-domain-policy>

5. Now try to play the m3u8 through quicktime.

1 reply

Inspiring
April 30, 2012
Sv_Bell
Sv_BellAuthor
Known Participant
April 30, 2012

Ah-haa... Thanks for your reply ShivenK !

I can see a sign of life now, thought it still won't work and video stream is not displaying. But the HLS link you give

http://184.107.48.113:8134/hls-live/livepkgr/_definst_/livebroadcast/livestream.m3u8

instead of displaying a video, it downloads a .m3u8 file on my desktop. I tried to open in Quicktime, out of curiosity, but it's not recognized. Here's the full content of the .m3u8 file, in case it gives a hint on the solution:

#EXTM3U

#EXT-X-MEDIA-SEQUENCE:217957

#EXT-X-ALLOW-CACHE:NO

#EXT-X-VERSION:2

#EXT-X-TARGETDURATION:8

#EXTINF:8,

../../../../hls-live/streams/livepkgr/events/_definst_/livebroadcast/livestreamNum217957.ts

(The server is broadcasting continuously since last week - you can test the HLS URL anytime)

Thanks for your help!!

Sv_Bell
Sv_BellAuthor
Known Participant
April 30, 2012

And out of curiosity, I entered in Quicktime player the link

http://184.107.48.113:8134/hls-live/streams/livepkgr/events/_definst_/livebroadcast/livestreamNum217957.ts

and the player does displays a message saying it's load the stream, but nothing else.

It's missing a little piece in the puzzle, somewhere, for it to work...