Jump to content
  • 0

Problem with adaptative streaming / HLS


Javier Inh
 Share

Question

Hi, I´m streaming from WebRTCAppEE > Playlist with Ant Media 2.0. Source is an mp4 video file H264

I´ve enabled Adaptive Streaming with: 720p (original resolution), 360p and 240p, the problem comes when video-js player switches to 720p resolution, it seems .ts file name is wrong, so video reproduction stops.


I opened a m3u8 file when it fails, and content is:


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:17
#EXT-X-MEDIA-SEQUENCE:84
#EXTINF:16.666667,
552653061386257880366365_0p0084.ts
#EXTINF:16.666667,
552653061386257880366365_0p0085.ts
#EXTINF:16.666667,
552653061386257880366365_0p0086.ts
#EXTINF:16.666667,
552653061386257880366365_0p0087.ts
#EXTINF:16.666667,
552653061386257880366365_0p0088.ts

I think name must be 552653061386257880366365_720p0088.ts, as on 320p and 240p the name is 552653061386257880366365_320p0088.ts

Sometimes it works with 720p and names inside m3u8 are xxxxx_720pxxxx.ts

Any idea how to fix it?

Thanks.
Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
Hi Javier,


Thanks for letting us know about it. Could you open an issue here with all the details that you have for us to schedule a fix for it. Knowing the steps to reproduce is key to the fix.
https://github.com/ant-media/Ant-Media-Server/issues

Best,
Asim

On Thursday, May 21, 2020 at 8:26:16 PM UTC+3, Javier Inh wrote:
Hi, I´m streaming from WebRTCAppEE > Playlist with Ant Media 2.0. Source is an mp4 video file H264

I´ve enabled Adaptive Streaming with: 720p (original resolution), 360p and 240p, the problem comes when video-js player switches to 720p resolution, it seems .ts file name is wrong, so video reproduction stops.


I opened a m3u8 file when it fails, and content is:


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:17
#EXT-X-MEDIA-SEQUENCE:84
#EXTINF:16.666667,
552653061386257880366365_0p0084.ts
#EXTINF:16.666667,
552653061386257880366365_0p0085.ts
#EXTINF:16.666667,
552653061386257880366365_0p0086.ts
#EXTINF:16.666667,
552653061386257880366365_0p0087.ts
#EXTINF:16.666667,
552653061386257880366365_0p0088.ts

I think name must be 552653061386257880366365_720p0088.ts, as on 320p and 240p the name is 552653061386257880366365_320p0088.ts

Sometimes it works with 720p and names inside m3u8 are xxxxx_720pxxxx.ts

Any idea how to fix it?

Thanks.
Link to comment
Share on other sites

 Share

×
×
  • Create New...