title: All ts files are not recording in the same m3u8 file
body: <p>I am trying to use nginx-rtmp for HLS and using the m3u8 file for VOD as well. But after few time the #EXT-X-MEDIA-SEQUENCE is set to some other value while I want to record all the ts files in that m3u8 file.
  m3u8 file :-</p>
  <p>**</p>
  <pre><code>#EXTM3U
  #EXT-X-VERSION:3
  #EXT-X-MEDIA-SEQUENCE:34
  #EXT-X-TARGETDURATION:8
  #EXTINF:5.367,
  awsfloor-34.ts
  #EXTINF:8.333,
  awsfloor-35.ts
  #EXTINF:8.333,
  awsfloor-36.ts
  #EXTINF:8.334,
  awsfloor-37.ts
  #EXTINF:8.333,
  awsfloor-38.ts
  #EXTINF:8.333,
  awsfloor-39.ts
  #EXTINF:8.334,
  awsfloor-40.ts
  #EXTINF:8.333,
  awsfloor-41.ts
  #EXTINF:8.333,
  awsfloor-42.ts
  #EXTINF:8.334,
  awsfloor-43.ts
  #EXTINF:1.927,
  awsfloor-44.ts**
  </code></pre>
  <p>**</p>
  <p>my rtmp block:-
  **</p>
  <pre><code>application thirdhlslive {  #rtmp push stream request path
              live on;
              hls on;
              hls_path /usr/share/nginx/html/thirdhlslive;
              hls_cleanup off;
              hls_fragment 3s;
              hls_playlist_length 1m;
          #record all;
          #record_path /tmp/recordings;
          #record_suffix _recorded.mp4;
          #record_unique on;
          #record_max_size 1024K;     
          }
  </code></pre>
  <p>**</p>
  <p>Please help me in this.</p>