Skip to main content
Participating Frequently
December 30, 2013
Question

HLS problems - no play or repeat the same audio

  • December 30, 2013
  • 1 reply
  • 3775 views

Hi, I cant get this solve.

The problem is this: my http live streaming (HLS) work sometime and then stop or plays an old audio for some seconds

I have a flash media encoder (FME) and a Flash media server 4.5 (FMS).

I am encoding only audio from my FME to FMS, AAC 64k

I have a radio player in my web that works with jwplayer 6 and rtmp. That works great. no problem at all.

The problem is the HLS with iOS

Here its my configuratio:

Server:

/fms/applications/livepkgr/events/myevent/live

<Event>

  <EventID>live</EventID>

  <Recording>

    <FragmentDuration>4000</FragmentDuration>

    <SegmentDuration>400000</SegmentDuration>

    <DiskManagementDuration>1</DiskManagementDuration>

  </Recording>

</Event>

FME:



<streamsynchronization>





<enable>true</enable>









<referencetime>















<month>0</month>














<year>0</year>



</referencetime>


</streamsynchronization>

FME stream conf:

rtmp://myip/livepkgr/myevent

stream: livestream?adbe-live-event=live&adbe-record-mode=record

I try with  ;adbe-record-mode=record and without that

here is the content of the stream folder:

-rw-rw---- 1 fms fms     314 Dec 30 15:40 live.bootstrap

-rw-rw---- 1 fms fms       8   Dec 30 15:40 live.control

-rw-rw---- 1 fms fms     188 Dec 30 12:25 live.meta

-rw-rw---- 1 fms fms 5499355 Dec 30 14:35 liveSeg47.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 14:35 liveSeg47.f4x

-rw-rw---- 1 fms fms 5498135 Dec 30 14:42 liveSeg48.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 14:42 liveSeg48.f4x

-rw-rw---- 1 fms fms 5500040 Dec 30 14:49 liveSeg49.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 14:49 liveSeg49.f4x

-rw-rw---- 1 fms fms 5499337 Dec 30 14:55 liveSeg50.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 14:55 liveSeg50.f4x

-rw-rw---- 1 fms fms 5500036 Dec 30 15:02 liveSeg51.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 15:02 liveSeg51.f4x

-rw-rw---- 1 fms fms 5499367 Dec 30 15:09 liveSeg52.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 15:09 liveSeg52.f4x

-rw-rw---- 1 fms fms 5498166 Dec 30 15:15 liveSeg53.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 15:15 liveSeg53.f4x

-rw-rw---- 1 fms fms 5499378 Dec 30 15:22 liveSeg54.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 15:22 liveSeg54.f4x

-rw-rw---- 1 fms fms 5500621 Dec 30 15:29 liveSeg55.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 15:29 liveSeg55.f4x

-rw-rw---- 1 fms fms 5498140 Dec 30 15:35 liveSeg56.f4f

-rw-rw---- 1 fms fms    3225    Dec 30 15:35 liveSeg56.f4x

-rw-rw---- 1 fms fms 3817606 Dec 30 15:40 liveSeg57.f4f

-rw-rw---- 1 fms fms    2233    Dec 30 15:40 liveSeg57.f4x

When the HLS stop working or simple repeat old stuff, I delete all this files and start encoding again.

I really dont know what else I can do.

Any idea or suggestion?

Really Thanks

This topic has been closed for replies.

1 reply

Participating Frequently
December 31, 2013

I think that this solve my problem:

<Event>

  <EventID>envivo</EventID>

  <Recording>

    <FragmentDuration>4000</FragmentDuration>

    <SegmentDuration>400000</SegmentDuration>

    <DiskManagementDuration>1</DiskManagementDuration>

  </Recording>

   <HLS>

        <MediaFileDuration>8000</MediaFileDuration>

        <SlidingWindowLength>450</SlidingWindowLength>

    </HLS>

</Event>