Closed GoogleCodeExporter closed 8 years ago
For the record, I've attached the modified version of the sample MPD which I
used to get the TypeError described above. In addition to copying the codecs
attributes from the AdaptationSet elements to their contained Representation
elements (to work around the NotSupportedError described above), I also removed
BaseURL elements for the reasons described here:
https://github.com/googlecast/cast-support-media-server/issues/1
and edited the audio codecs attribute to a value that seems to work with
Chromecast and desktop Chrome on MacOS (I get no audio with the original value
of "mp4a.0x40" on either of those platforms).
Note that with this MPD, I can play the sample video (and many other
SegmentTemplate-constructed MPDs) on a Chromecast using a version of the
dash.js "reference" library inside a custom receiver app (using the preview
SDK, at least). We would be happier, however, to use an officially-supported
DASH library, engineered for the Chromecast runtime environment, because we
have had to rewrite dash.js's control loop to work reasonably well on a
Chromecast device.
Original comment by peter.jo...@qrclab.com
on 14 Feb 2014 at 8:45
Attachments:
Thank you for your report and mpd file we can use for testing. We'll work on
adding this support soon.
Original comment by vadi...@google.com
on 14 Feb 2014 at 9:24
Original comment by anad...@google.com
on 14 Feb 2014 at 9:35
An update to
http://www.gstatic.com/cast/sdk/libs/mediaplayer/0.3.0/media_player.js
was pushed that added support for segment template and segment list. You
manifest should work once you change the audio codecs value to mp4a.40.2.
Original comment by vadi...@google.com
on 20 Feb 2014 at 1:50
Please let us know if your issue is still not resolved.
Original comment by anad...@google.com
on 20 Feb 2014 at 8:08
Thanks! Just returned from vacation and have confirmed that the sample MPD now
plays with the latest version of media_player.js (md5
250cfc16dc3f17bd0f1a1f59bc74d055, is there a better way to identify versions?).
It works with the MPD attached to comment #1, and it also works with the
codecs attributes removed from the Representation elements (so that the codecs
are properly inherited from the enclosing AdaptationSet elements). So, it
appears that both issues of this bug report have been fixed.
[Indeed, the audio codecs attribute still needs to be "mp4a.40.2" instead of
"mp4a.0x40", but I think that that is a bug in the sample media, which I
mentioned in a comment here:
https://github.com/googlecast/cast-support-media-server/issues/1#issuecomment-35
126556]
Unfortunately, I still can't play other SegmentTemplate-based MPDs that we have
generated (and which play on Chromecast using the dash.js library), but I will
try to find out more information and file a separate issue.
Original comment by peter.jo...@qrclab.com
on 25 Feb 2014 at 5:23
Original issue reported on code.google.com by
peter.jo...@qrclab.com
on 14 Feb 2014 at 8:14