Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.12k stars 1.68k forks source link

HLS multi audio files VOD #3073

Closed tm-design closed 5 years ago

tm-design commented 5 years ago
Environment
Steps to reproduce
  1. Create a smil with multiple audio tracks and abr video set up.
  2. Load a page on iPad containing the dash player.
  3. Attempt to get the track info for the video with player.getTracksFor('audio') or player.getTracksFor('video')
Observed behaviour

Type error of null is not an object

We are using Dash.js and the Wowza streaming engine at my company. We are trying to support the ability to switch audio. It works fine on anything that will actually use mpeg-dash but on the HLS stream on an iPad I cannot get the track information. It appears to not be getting the mediainfo. Is this something that is not supported in HLS or do I have something set up wrong. Thanks for you help, and I'll be happy to respond with any information that I can and try just about anything.

nicosang commented 5 years ago

Hi @tm-design ,

I'm not sure to well understand your issue. the dash.js player doesn't support hls streams, only dash one and mss (if you add the specific package)....

If you want to play hls stream on safari/iOs, you have to use directly the api of html5 video element....

Nico