Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

duration error “Infinity:0NaN:0NaN” using hlsjs + mp3 wowza stream #103

Open
bbbo opened this issue Dec 22, 2017 · 12 comments
Open

duration error “Infinity:0NaN:0NaN” using hlsjs + mp3 wowza stream #103

bbbo opened this issue Dec 22, 2017 · 12 comments
Assignees

Comments

@bbbo
Copy link
Member

bbbo commented Dec 22, 2017

From flowplayer/flowplayer#1315 (comment)

I have a problem using mp3 hls stream with Flowplayer 7.2.1. I'm streaming it with Wowza.
The player shows “Infinity:0NaN:0NaN” in the ‘duration’ control. Using Flash or Mp4 hls stream it shows duration correctly.
Testing this mp3 hls stream on HLSJS demo page it shows the duration info correctly ('stats display').

bug-flowplayer-mp3

You can test the stream here: https://video-dev.github.io/hls.js/demo/?src=https%3A%2F%2Fvideo.radioradicale.it%2Fstore-68%2F_definst_%2Fmp3%3A2017%2F11%2FMP916817.mp3%2Fplaylist.m3u8&enableStreaming=true&autoRecoverError=true&enableWorker=true&dumpfMP4=false&levelCapping=-1&defaultAudioCodec=undefined

@bbbo
Copy link
Member Author

bbbo commented Dec 22, 2017

works with plain hls.js indeed. See https://flowplayer.com/forum#!/setup:flowplayer-html5-hls-audio/there-is-another-strange-bu (note: seeking does not workin Chrome even with plain hls.js)

@fdambrosio
Copy link

can we have a workaround about this problem? thanks

@nnarhinen
Copy link
Contributor

nnarhinen commented Dec 28, 2017

Did you try with 7.2.1 and the hlsjs-lite engine.

  • Remove http://releases.flowplayer.org/hlsjs/flowplayer.hlsjs.min.js from your setup
  • Include <script src="https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.8.9/hls.light.min.js"></script> in your page before loading flowplayer javascript assets

@fdambrosio
Copy link

@nnarhinen using suggested hls.light.min.js the player shows the duration 00:00 and I'm unable to seek.

@nnarhinen
Copy link
Contributor

Can you link to the misbehaving setup?

@fdambrosio
Copy link

@nnarhinen you can test it here: http://web-0.radioradicale.it/prova/fp/audio.html
I'm testing using Chrome 63.0.3239.84

@karcar
Copy link

karcar commented Dec 29, 2017

Adding to issue when using same setup HLS .mp3/playlist.m3u8 streaming from Wowza it does NOT play on Windows 10 - Internet Explorer 11 browser. All other browsers play audio without any issues.

You can test using @fdambrosio link in Win 10 - IE 11.

@nnarhinen
Copy link
Contributor

Please do not hijack issues. Open new ones.

@nnarhinen
Copy link
Contributor

nnarhinen commented Dec 29, 2017

Thanks for reporting this and providing a sample. Will fix this at least for the hlsjs-lite engine in core flowplayer. I'm not sure if we should put much effort to this plugin anymore as the lite hlsjs engine does 99% of the functionality already.

Issue in here: flowplayer/flowplayer#1318

@karcar
Copy link

karcar commented Dec 29, 2017

@nnarhinen will do. I was told to add to this issue from Flowplayer forum.

@bbbo
Copy link
Member Author

bbbo commented Dec 29, 2017

that was my fault ;) did not read the forum comment properly.

@fdambrosio
Copy link

Now I'm using https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.8.9/hls.light.min.js and it show duration correctly, but I'm unable to catch event error from hlsjs script.
If the stream return a 404 error the player never return an error.
test: http://web-0.radioradicale.it/prova/fp/error.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants