@Klucva

Как проиграть mpd в браузере?

У меня есть следующий mpd, но у меня не получается его проиграть. Можете подсказать рабочий способ? (видео 100% нормальные)
Сам MPD:
<?xml version="1.0"?>
<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" type="static" mediaPresentationDuration="PT155.16S" minBufferTime="PT1S" profiles="urn:webm:dash:profile:webm-on-demand:2012">
	<Period id="0" start="PT0S" duration="PT155.16S">
		<AdaptationSet id="0" mimeType="video/webm" codecs="vp8" lang="eng" maxWidth="1216" maxHeight="720" subsegmentAlignment="true" subsegmentStartsWithSAP="1" bitstreamSwitching="true">
			<Representation id="0" bandwidth="474200">
				<BaseURL>https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/5a599e5a-992f-4158-867f-626ef364c8f2/Greedy_LOW.webm</BaseURL>
				<SegmentBase indexRange="570-3163">
					<Initialization range="0-570" />
				</SegmentBase>
			</Representation>
			<Representation id="1" bandwidth="1845903">
				<BaseURL>https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/5a599e5a-992f-4158-867f-626ef364c8f2/Greedy_MID.webm</BaseURL>
				<SegmentBase indexRange="570-3243">
					<Initialization range="0-570" />
				</SegmentBase>
			</Representation>
			<Representation id="2" bandwidth="3708784">
				<BaseURL>https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/5a599e5a-992f-4158-867f-626ef364c8f2/Greedy_HIGH.webm</BaseURL>
				<SegmentBase indexRange="570-3278">
					<Initialization range="0-570" />
				</SegmentBase>
			</Representation>
			<Representation id="3" bandwidth="7627560">
				<BaseURL>https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/5a599e5a-992f-4158-867f-626ef364c8f2/Greedy_ULTRA.webm</BaseURL>
				<SegmentBase indexRange="570-3298">
					<Initialization range="0-570" />
				</SegmentBase>
			</Representation>
		</AdaptationSet>
	</Period>
</MPD>
  • Вопрос задан
  • 41 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы