Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Issue with Live Streaming #41

@stakach

Description

@stakach

The player seems to be having trouble playing dash streams formatted like:

<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" type="dynamic" minimumUpdatePeriod="PT2S" availabilityStartTime="2015-08-19T03:33:52" minBufferTime="PT4S" suggestedPresentationDelay="PT20S" timeShiftBufferDepth="PT1M0S" profiles="urn:mpeg:dash:profile:isoff-live:2011">
  <Period start="PT0S" id="1">
    <AdaptationSet mimeType="video/mp4" codecs="avc1.4d401f,mp4a.40.5" frameRate="25/1" segmentAlignment="true" subsegmentAlignment="true" startWithSAP="1" subsegmentStartsWithSAP="1" bitstreamSwitching="true">
      <ContentComponent contentType="video" id="1"/>
      <ContentComponent contentType="audio" id="2"/>
      <SegmentTemplate timescale="90000" media="ch09$Time$.mp4" initialization="ch09init.mp4">
        <SegmentTimeline>
          <S t="47608740000" d="180000" r="29"/>
        </SegmentTimeline>
      </SegmentTemplate>
      <Representation id="1" width="1024" height="576" bandwidth="4500000">
        <SubRepresentation contentComponent="1" bandwidth="4500000" codecs="avc1.4d401f"/>
        <SubRepresentation contentComponent="2" bandwidth="64000" codecs="mp4a.40.5"/>
      </Representation>
    </AdaptationSet>
  </Period>
</MPD>

The console produces the following errors at try.js:56:

Loading manifest, url='http://sohiptvlb2.soh.com/sdtv/ch09.mpd'
Loaded manifest, url='http://sohiptvlb2.soh.com/sdtv/ch09.mpd'
Creating manifest...
Couldn't find media presentation duration

The DASH standard seems to support a lot of different representations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions