shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
236 stars 63 forks source link

Playback failed with widevine content over a certain size #200

Closed yukihiro-m-play closed 3 years ago

yukihiro-m-play commented 3 years ago

Playback failed and the following error occur with widevine content over 1080p.

Error Message:

Domain=ShakaPlayerErrorDomain Code=4032 "Shaka Error MANIFEST.CONTENT_UNSUPPORTED_BY_BROWSER ()" 
UserInfo={NSLocalizedDescription=Shaka Error MANIFEST.CONTENT_UNSUPPORTED_BY_BROWSER (), ShakaPlayerErrorSeverityKey=2, ShakaPlayerErrorCategoryKey=4}

Period tag in mpd file:

 <Period duration="PT0H2M26.034S">
  <AdaptationSet segmentAlignment="true" maxWidth="1920" maxHeight="1080" maxFrameRate="30" par="16:9" lang="und" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="0" mimeType="video/mp4" codecs="avc1.640028" width="1920" height="1080" frameRate="30" sar="1:1" startWithSAP="1" bandwidth="2894427">
    <BaseURL>src/src_0.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="910-2705">
      <Initialization range="0-909"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
  <AdaptationSet segmentAlignment="true" lang="und" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="48000" startWithSAP="1" bandwidth="131789">
    <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
    <BaseURL>src/src_1.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="847-2666">
      <Initialization range="0-846"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
 </Period>

And we tried and confirmed the following:

How to check the playable size? Also, How to change the playable size range?

TheModMaker commented 3 years ago

Probably a duplicate of #179.

yukihiro-m-play commented 3 years ago

It was the same issue as #179.

When do you plan to fix this issue? I'm looking forward to your fix.

TheModMaker commented 3 years ago

I'm currently busy working on other projects. Hopefully I can have time in Q2 to work on this project again.

I'm also going to close this as a duplicate.