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.13k stars 1.68k forks source link

dash.js not displayed by smartphone (android and ios) and ps4 #2371

Closed chanof closed 6 years ago

chanof commented 6 years ago

Hi there, After a great satisfaction with the computers I realized I'm having problems visualizing a pseudo live generated by MP4Box on devices such android, iOS and ps4. the streming work fine with windows explorer, osx firefox chome and safari and on Ubuntu

For my test i use a video already encoded of Simpsons http://www.h264info.com/clips.html,

The MP4Box command line that generate the manifest is: sudo MP4Box -dash-live 1000 -frag 1000 -profile live -subdur 1000 -mpd-refresh 1000 -time-shift 3 -bs-switching no -segment-name output-seg -out manifest.mpd simp.mp4#video audio.m4a

THE MANIFEST:

<?xml version="1.0"?>
<!-- MPD file Generated with GPAC version 0.7.2-DEV-rev358-g433fbcc3-master  at 2018-01-12T18:54:29.656Z-->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="dynamic" publishTime="2018-01-12T18:54:29Z" availabilityStartTime="2018-01-12T18:51:06.999Z" timeShiftBufferDepth="PT0H0M3.000S" mediaPresentationDuration="PT0H2M17.254S" maxSegmentDuration="PT0H0M1.460S" profiles="urn:mpeg:dash:profile:isoff-live:2011">
 <ProgramInformation moreInformationURL="http://gpac.io">
  <Title>manifest.mpd generated by GPAC</Title>
 </ProgramInformation>

 <Period id="DID1" start="PT0H0M0.000S">
  <AdaptationSet segmentAlignment="true" maxWidth="1920" maxHeight="800" maxFrameRate="24000/1001" par="1920:800" lang="und">
   <SegmentTemplate media="output-seg$Number$.m4s" timescale="24000" startNumber="1" duration="24000" initialization="output-seginit.mp4"/>
   <Representation id="1" mimeType="video/mp4" codecs="avc1.640029" width="1920" height="800" frameRate="24000/1001" sar="1:1" startWithSAP="1" bandwidth="8610">
   </Representation>
   <Representation id="2" mimeType="video/mp4" codecs="avc1.640029,mp4a.40.2" width="1920" height="800" frameRate="24000/1001" sar="1:1" startWithSAP="1" bandwidth="8506">
    <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="6"/>
   </Representation>
  </AdaptationSet>
 </Period>
</MPD>

Is there any specification that I ignore to even visualize on these devices? Thanks! Gianmaria

chanof commented 6 years ago

I think this is the answer: https://github.com/Dash-Industry-Forum/dash.js/issues/2121 sorry for this stupid question, but anybody know something about ps4 compatibility? And also safari is problematic or any other news about?