• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

HLS and external Apache HTTP Server not working

Guest
Sep 19, 2011 Sep 19, 2011

Copy link to clipboard

Copied

I installed the FMS 4.5 on a debian system already running an apache web server.

I configured the httpd.conf as mentioned in http://help.adobe.com/en_US/flashmediaserver/configadmin/WSd391de4d9c7bd6093a7e2f8312a374a1bde-8000.... but when i call a streaming url e.g. http://<IP>/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 the request is still handled by the old apache, not by the FMS.

When i stop the old apache and restart the FMS the request is handled by the FMS and streaming works.

Does anyone have any suggestions on this?

Views

6.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Sep 19, 2011 Sep 19, 2011

Hi,

Thanks for using FMS 4.5

Since you have two copies of apache running on the same machine, they can be separated by specifying the port in the URL. By default, the apache that's bundled with FMS runs on port 8134 and hence you can change the URL to look like http://<IP>:8134/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 to point to the apache on FMS.

Hope it helps, thank you !

Votes

Translate

Translate
Advocate ,
Sep 19, 2011 Sep 19, 2011

Copy link to clipboard

Copied

Hi,

Thanks for using FMS 4.5

Since you have two copies of apache running on the same machine, they can be separated by specifying the port in the URL. By default, the apache that's bundled with FMS runs on port 8134 and hence you can change the URL to look like http://<IP>:8134/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 to point to the apache on FMS.

Hope it helps, thank you !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 19, 2011 Sep 19, 2011

Copy link to clipboard

Copied

Ok, that makes sense Thanks for your answer.

A further question:

Might some firewalls now block port 8134 instead of 80 for http? Could this be a new problem?

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 19, 2011 Sep 19, 2011

Copy link to clipboard

Copied

I wont say it as a problem, but yes, it can happen ....

so, either shift apache on FMS as your primary web server (by changing the port config in httpd.conf file under apache of FMS) or open up the firewall for this port.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 21, 2011 Sep 21, 2011

Copy link to clipboard

Copied

Unfortunately the HLS live streaming is still not working:

I am using ffmpeg to stream to the FMS with the URL rtmp://<IP>/livepkgr/livestream?adbe-live-event=liveevent.

I can play the live stream with the FlashMediaPlayback and the URL rtmp://<IP>/livepkgr/livestream without problems.

But using an iPad with the HTML5 Video tag dont work.

<video                        
   src
="http://<IP>:8134/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8"
           
controls autoplay />

If i open the m3u8 file it contains the following content:

#EXTM3U

#EXT-X-MEDIA-SEQUENCE:219

#EXT-X-ALLOW-CACHE:NO

#EXT-X-VERSION:2

#EXT-X-TARGETDURATION:8

#EXTINF:8,

../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestreamNum219.ts

#EXTINF:8,

../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestreamNum220.ts

#EXTINF:8,

../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestreamNum221.ts

#EXTINF:8,

../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestreamNum222.ts

#EXTINF:8,

../../../../hls-live/streams/livepkgr/events/_definst_/liveevent/livestreamNum223.ts

Calling the following URL also serves the .ts file which i can play with VLC or windows media player.

http://<IP>:8134/hls-live/streams/livepkgr/events/_definst_/liveevent/livestreamNum223.ts

The problem might be: Even after multiple minutes the content of the m3u8 file did not change!

Why is is not being updated? Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 21, 2011 Sep 21, 2011

Copy link to clipboard

Copied

Hi,

Good to see progress at your end.

Did you try disabling cache ?

If you are using the individual URLs for each fragment (221, 222 etc), it will always play the content from that fragment itself. to have it autoupdated , you have to use the m3u8 URL that can fetch the latest bootstrap info and play in sequence in live.

Are you able to play the m3u8 URL in the video tag ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 21, 2011 Sep 21, 2011

Copy link to clipboard

Copied

Hi,

i am already using the m3u8 URL from above in the html5 video tag. When i call the url myself and open it with an editor it always has the same content! Even after minutes it still links to

...streamNum219.ts

...streamNum220.ts

...streamNum221.ts

...streamNum222.ts

...streamNum223.ts

Cause i am streaming live, the m3u8 file should continuously count up, right? I fact, it dont!

How to disable the cache?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 22, 2011 Sep 22, 2011

Copy link to clipboard

Copied

ok, i think i reached the 10 minutes limit of the developer license...

Is there a hint in a log file, when HLS streaming stops because license limit ended?

When can i test again? Is it 10 minutes per day? Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 22, 2011 Sep 22, 2011

Copy link to clipboard

Copied

Everytime you reload the application, it should give 10 min

I do not think as of now, we have the logs mentioning this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 23, 2011 Sep 23, 2011

Copy link to clipboard

Copied

LATEST

Its not 10 minutes per day or something like that. First of all its 30 minutes limit (i know why you are mistaken that's it 10 because the link:http://www.adobe.com/products/flashmediaserver/helpmechoose.html shows it as 10 minutes - I'll check with right person responsbile for this page to get that corrected)

The fact that you are getting same content is because your recording is same. In your first publish , you would have published for more than 30 minutes and since limit is 30 minutes, recording stops growing. Since HLS is based on F4F recording and recording is now not growing - you get same data. When you republish since livepkgr by default records in "append" - you hit 30 minutes limit at the start of second publish right away. What you need to do is delete the old f4f recording ( livepkgr/streams/_definst_/livestream) , publish again and your problem should be solved.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines