Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash Stream Keeps on buffering using Shaka Player but Works fine on dash.js player #7192

Closed
raut008 opened this issue Aug 21, 2024 · 18 comments · Fixed by #7286
Closed

Dash Stream Keeps on buffering using Shaka Player but Works fine on dash.js player #7192

raut008 opened this issue Aug 21, 2024 · 18 comments · Fixed by #7286
Assignees
Labels
component: DASH The issue involves the MPEG DASH manifest format priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@raut008
Copy link

raut008 commented Aug 21, 2024

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
yes

Are you using the demo app or your own custom app?
Using demo app

If custom app, can you reproduce the issue using our demo app?
Yes

What browser and OS are you using?
Chrome 113.0.5672.127 and Windows

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
NA

What are the manifest and license server URIs?

What configuration are you using? What is the output of player.getConfiguration()?
Default

What did you do?
Played this MPD file on shaka player demo app and also on dash.js
<?xml version="1.0" encoding="utf-8"?> <MPD xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready" xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" minBufferTime="PT4.00S" mediaPresentationDuration="PT2H4M1.296S" type="static"> <Period start="PT0S" duration="PT4.736S" id="1"> <AdaptationSet mimeType="video/mp4" frameRate="25/1" segmentAlignment="true" subsegmentAlignment="true" startWithSAP="1" subsegmentStartsWithSAP="1" bitstreamSwitching="false"> <SegmentTemplate timescale="90000" startNumber="1"> </SegmentTemplate> <Representation id="1" width="1920" height="1080" bandwidth="5500000" codecs="avc1.640028"> <SegmentTemplate media="splash_5500k_20211004T095408_$Number%09d$.mp4" initialization="splash_5500k_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="360000"> </S> <S t="360000" d="64800"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> <Representation id="2" width="1280" height="720" bandwidth="4000000" codecs="avc1.64001f"> <SegmentTemplate media="splash_4000k_20211004T095408_$Number%09d$.mp4" initialization="splash_4000k_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="360000"> </S> <S t="360000" d="64800"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> <Representation id="3" width="1280" height="720" bandwidth="1500000" codecs="avc1.64001f"> <SegmentTemplate media="splash_1500k_20211004T095408_$Number%09d$.mp4" initialization="splash_1500k_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="360000"> </S> <S t="360000" d="64800"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> <Representation id="4" width="960" height="540" bandwidth="1100000" codecs="avc1.64001f"> <SegmentTemplate media="splash_1100k_20211004T095408_$Number%09d$.mp4" initialization="splash_1100k_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="360000"> </S> <S t="360000" d="64800"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> <Representation id="5" width="640" height="360" bandwidth="700000" codecs="avc1.64001e"> <SegmentTemplate media="splash_700k_20211004T095408_$Number%09d$.mp4" initialization="splash_700k_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="360000"> </S> <S t="360000" d="64800"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> <Representation id="6" width="512" height="288" bandwidth="500000" codecs="avc1.640015"> <SegmentTemplate media="splash_500k_20211004T095408_$Number%09d$.mp4" initialization="splash_500k_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="360000"> </S> <S t="360000" d="64800"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> <Representation id="7" width="384" height="216" bandwidth="300000" codecs="avc1.64000d"> <SegmentTemplate media="splash_300K_20211004T095408_$Number%09d$.mp4" initialization="splash_300K_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="360000"> </S> <S t="360000" d="64800"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" lang="hin" segmentAlignment="0"> <SegmentTemplate timescale="48000" media="splash_Hindi64k_20211004T095408_$Number%09d$.mp4" initialization="splash_Hindi64k_20211004T095408init.mp4" startNumber="1"> </SegmentTemplate> <Label> Hindi </Label> <Representation id="8" bandwidth="64000" audioSamplingRate="48000" codecs="mp4a.40.2"> <SegmentTemplate media="splash_Hindi64k_20211004T095408_$Number%09d$.mp4" initialization="splash_Hindi64k_20211004T095408init.mp4" startNumber="1"> <SegmentTimeline> <S t="0" d="194560"> </S> <S t="194560" d="32768"> </S> </SegmentTimeline> </SegmentTemplate> </Representation> </AdaptationSet> </Period> <Period id="2" start="PT4.736S" mediaPresentationDuration="PT2H3M56.560S"> <AdaptationSet mimeType="video/mp4" segmentAlignment="true" startWithSAP="1" maxWidth="1920" maxHeight="1080"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="846332dc-cc41-4125-9891-2130c43e0000"> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="2.0"> <pro> pgIAAAEAAQCcAjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAE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EMASABFAEMASwBTAFUATQA+AHkAQQBiAHAAMwBDAEYAUQBIAGMAMAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAHAAcgAuAHMAZQByAHYAaQBjAGUALgBlAHgAcAByAGUAcwBzAHAAbABhAHkALgBjAG8AbQAvAHAAbABhAHkAcgBlAGEAZAB5AC8AUgBpAGcAaAB0AHMATQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPAAvAEwAQQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA= </pssh> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <pssh> AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkSEIRjMtzMQUElmJEhMMQ+AAAaCmludGVydHJ1c3QiASoIAUjj3JWbBg== </pssh> </ContentProtection> <SegmentTemplate timescale="1000" duration="4000" initialization="WL/$RepresentationID$/init.mp4" media="WL/$RepresentationID$/seg-$Number$.m4s" startNumber="1"> </SegmentTemplate> <Representation id="video/avc1/1" codecs="avc1.4D4015" width="460" height="240" scanType="progressive" frameRate="25" bandwidth="295946"> </Representation> <Representation id="video/avc1/2" codecs="avc1.4D401E" width="640" height="360" scanType="progressive" frameRate="25" bandwidth="587999"> </Representation> <Representation id="video/avc1/3" codecs="avc1.4D401F" width="960" height="540" scanType="progressive" frameRate="25" bandwidth="1063547"> </Representation> <Representation id="video/avc1/4" codecs="avc1.4D401F" width="1280" height="720" scanType="progressive" frameRate="25" bandwidth="1739731"> </Representation> <Representation id="video/avc1/5" codecs="avc1.4D401F" width="1280" height="720" scanType="progressive" frameRate="25" bandwidth="2566271"> </Representation> <Representation id="video/avc1/6" codecs="avc1.4D4028" width="1920" height="1080" scanType="progressive" frameRate="25" bandwidth="3698188"> </Representation> <Representation id="video/avc1/7" codecs="avc1.4D4028" width="1920" height="1080" scanType="progressive" frameRate="25" bandwidth="4740156"> </Representation> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true" lang="eng" label="English"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="846332dc-cc41-4125-9891-2130c43e0000"> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="2.0"> <pro> pgIAAAEAAQCcAjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AMwBEAEoAagBoAEUASABNAEoAVQBHAFkAawBTAEUAdwB4AEQANABBAEEAQQA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgB5AEEAYgBwADMAQwBGAFEASABjADAAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBwAHIALgBzAGUAcgB2AGkAYwBlAC4AZQB4AHAAcgBlAHMAcwBwAGwAYQB5AC4AYwBvAG0ALwBwAGwAYQB5AHIAZQBhAGQAeQAvAFIAaQBnAGgAdABzAE0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A </pro> <pssh> AAACxnBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAqamAgAAAQABAJwCPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgAzAEQASgBqAGgARQBIAE0ASgBVAEcAWQBrAFMARQB3AHgARAA0AEEAQQBBAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AHkAQQBiAHAAMwBDAEYAUQBIAGMAMAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAHAAcgAuAHMAZQByAHYAaQBjAGUALgBlAHgAcAByAGUAcwBzAHAAbABhAHkALgBjAG8AbQAvAHAAbABhAHkAcgBlAGEAZAB5AC8AUgBpAGcAaAB0AHMATQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPAAvAEwAQQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA= </pssh> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <pssh> AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkSEIRjMtzMQUElmJEhMMQ+AAAaCmludGVydHJ1c3QiASoIAUjj3JWbBg== </pssh> </ContentProtection> <SegmentTemplate timescale="1000" duration="4000" initialization="WL/$RepresentationID$/init.mp4" media="WL/$RepresentationID$/seg-$Number$.m4s" startNumber="1"> </SegmentTemplate> <Representation id="audio/eng/mp4a" codecs="mp4a.40.2" bandwidth="136528" audioSamplingRate="48000"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"> </AudioChannelConfiguration> </Representation> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true" lang="hin" label="Hindi"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="846332dc-cc41-4125-9891-2130c43e0000"> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="2.0"> <pro> pgIAAAEAAQCcAjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AMwBEAEoAagBoAEUASABNAEoAVQBHAFkAawBTAEUAdwB4AEQANABBAEEAQQA9AD0APAAvAEsASQBEAD4APABDA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HYAaQBjAGUALgBlAHgAcAByAGUAcwBzAHAAbABhAHkALgBjAG8AbQAvAHAAbABhAHkAcgBlAGEAZAB5AC8AUgBpAGcAaAB0AHMATQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPAAvAEwAQQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA= </pssh> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <pssh> AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkSEIRjMtzMQUElmJEhMMQ+AAAaCmludGVydHJ1c3QiASoIAUjj3JWbBg== </pssh> </ContentProtection> <SegmentTemplate timescale="1000" duration="4000" initialization="WL/$RepresentationID$/init.mp4" media="WL/$RepresentationID$/seg-$Number$.m4s" startNumber="1"> </SegmentTemplate> <Representation id="audio/hin/mp4a" codecs="mp4a.40.2" bandwidth="136528" audioSamplingRate="48000"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"> </AudioChannelConfiguration> </Representation> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true" lang="tam" label="Tamil"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="846332dc-cc41-4125-9891-2130c43e0000"> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="2.0"> <pro> pgIAAAEAAQCcAjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALg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8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgAzAEQASgBqAGgARQBIAE0ASgBVAEcAWQBrAFMARQB3AHgARAA0AEEAQQBBAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AHkAQQBiAHAAMwBDAEYAUQBIAGMAMAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAHAAcgAuAHMAZQByAHYAaQBjAGUALgBlAHgAcAByAGUAcwBzAHAAbABhAHkALgBjAG8AbQAvAHAAbABhAHkAcgBlAGEAZAB5AC8AUgBpAGcAaAB0AHMATQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPAAvAEwAQQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA= </pssh> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <pssh> AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkSEIRjMtzMQUElmJEhMMQ+AAAaCmludGVydHJ1c3QiASoIAUjj3JWbBg== </pssh> </ContentProtection> <SegmentTemplate timescale="1000" duration="4000" initialization="WL/$RepresentationID$/init.mp4" media="WL/$RepresentationID$/seg-$Number$.m4s" startNumber="1"> </SegmentTemplate> <Representation id="audio/tam/mp4a" codecs="mp4a.40.2" bandwidth="136528" audioSamplingRate="48000"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"> </AudioChannelConfiguration> </Representation> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true" lang="tel" label="Telugu"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="846332dc-cc41-4125-9891-2130c43e0000"> </ContentProtection> <ContentProtection schemeIdUri="urn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bQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgAzAEQASgBqAGgARQBIAE0ASgBVAEcAWQBrAFMARQB3AHgARAA0AEEAQQBBAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AHkAQQBiAHAAMwBDAEYAUQBIAGMAMAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAHAAcgAuAHMAZQByAHYAaQBjAGUALgBlAHgAcAByAGUAcwBzAHAAbABhAHkALgBjAG8AbQAvAHAAbABhAHkAcgBlAGEAZAB5AC8AUgBpAGcAaAB0AHMATQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPAAvAEwAQQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA= </pssh> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <pssh> AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkSEIRjMtzMQUElmJEhMMQ+AAAaCmludGVydHJ1c3QiASoIAUjj3JWbBg== </pssh> </ContentProtection> <SegmentTemplate timescale="1000" duration="4000" initialization="WL/$RepresentationID$/init.mp4" media="WL/$RepresentationID$/seg-$Number$.m4s" startNumber="1"> </SegmentTemplate> <Representation id="audio/tel/mp4a" codecs="mp4a.40.2" bandwidth="136528" audioSamplingRate="48000"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"> </AudioChannelConfiguration> </Representation> </AdaptationSet> </Period> </MPD>

What did you expect to happen?
Stream should play normally just like

What actually happened?
When I loaded the url on shaka player it cloud make few initial call but later on it kept on buffering

Are you planning send a PR to fix it?
No

@raut008 raut008 added the type: bug Something isn't working correctly label Aug 21, 2024
@avelad
Copy link
Member

avelad commented Aug 21, 2024

Please provide a url of your manifest!

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Aug 21, 2024
@shaka-bot shaka-bot added this to the v4.11 milestone Aug 21, 2024
@raut008

This comment was marked as outdated.

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Aug 22, 2024
@avelad
Copy link
Member

avelad commented Aug 22, 2024

Your stream returns 451...

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Aug 22, 2024
@raut008
Copy link
Author

raut008 commented Aug 22, 2024

Seems like stream URL or the HMAC token used to access it is no longer valid. Seems like it expires after a hour. or you need to connect to VPN India

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Aug 22, 2024
@raut008
Copy link
Author

raut008 commented Aug 23, 2024

As a beginner learning about streaming services, I'm trying to understand why dash.js can play stream while Shaka Player fails to do so. Can we draw any conclusions from the static manifest file shared above ?

@avelad
Copy link
Member

avelad commented Aug 23, 2024

Maybe related to #7174

@raut008
Copy link
Author

raut008 commented Aug 24, 2024

I noticed that #7174 was merged into the main branch, but I’m still encountering the same issue after building from main.

image

These are the logs I get . PFA. Thank you

@avelad
Copy link
Member

avelad commented Aug 26, 2024

Regression introduced by #7157. I think..

@raut008
Copy link
Author

raut008 commented Aug 27, 2024

I'm encountering an issue with a DASH VOD stream. Although the stream plays successfully on Dash.js, it generates a "Possible encoding problem" error. I would like to know if it is possible to play this stream using Shaka Player as well.

Previously, I was repeatedly facing an issue where the segment end time could not be found, but this was resolved with the recent fix from the #7157 revert.

Segment is off by a little margin can't we just skip the segment and move ahead ?

image

@avelad avelad added the component: DASH The issue involves the MPEG DASH manifest format label Aug 29, 2024
@raut008
Copy link
Author

raut008 commented Aug 30, 2024

Hello @avelad , Is it possible to recover from encoding problem ? Any suggestions ?

@avelad
Copy link
Member

avelad commented Sep 2, 2024

The encoder problem is just a warning, if your stream works fine there is no problem.

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Sep 2, 2024
@raut008
Copy link
Author

raut008 commented Sep 2, 2024

The stream gets stuck, and no further chunk requests are being made.

image

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Sep 2, 2024
@avelad
Copy link
Member

avelad commented Sep 2, 2024

It looks like your manifest has 2 periods, One period uses SegmentTemplate+SegmentTimeline and one period uses SegmentTemplate with number. The parser is not prepared for this mixture and gives incorrect behavior. I'm going to let @joeyparrish tell you what the best way to proceed is.

(Related to #6612)

@raut008
Copy link
Author

raut008 commented Sep 4, 2024

Hello @joeyparrish I hope you’ve had a chance to review it. Please let me know if you have any questions and what you think is the best way to proceed.

@csrinu236
Copy link

Hello @avelad and @joeyparrish, I am experiencing the same issue with a similar manifest. One period uses SegmentTemplate with SegmentTimeline, while another uses SegmentTemplate with numbering.

@avelad
Copy link
Member

avelad commented Sep 6, 2024

@csrinu236 can you share a public stream?

@raut008
Copy link
Author

raut008 commented Sep 9, 2024

Hey @avelad and @joeyparrish , I have created a stream in which One period uses SegmentTemplate with SegmentTimeline, while another uses SegmentTemplate with numbering.

Below is the link
https://stream-mpd.netlify.app/v7-Clear/output.mpd

@avelad avelad assigned avelad and unassigned joeyparrish Sep 11, 2024
@avelad avelad added the priority: P2 Smaller impact or easy workaround label Sep 11, 2024
@raut008
Copy link
Author

raut008 commented Sep 16, 2024

Thank you @avelad and @joeyparrish for fixing the issue.

@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Nov 11, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: DASH The issue involves the MPEG DASH manifest format priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
5 participants