clappr / dash-shaka-playback

A dash playback (based on shaka-player) for :clapper: Clappr
BSD 3-Clause "New" or "Revised" License
77 stars 27 forks source link

dash-shaka player could not fetch the SMPTE-TT images #62

Open kumarashu123 opened 5 years ago

kumarashu123 commented 5 years ago

When the smpte based subtitle language is selected in the player during playback, player is requesting the xml file for the bitmap based subtitles and the response xml file has the list of available bitmap images . The player is able to parse the available bitmap-images list from the xml file and add those list to the cue but fails to send the request to fetch the parsed images. So the bitmap based subtitles are not displayed.

Please, help us to fix the issue with dash-shaka-playback.Thanks in advance.

leandromoreira commented 5 years ago

did you see any error on network or console from the browser? it might be related to cors

kumarashu123 commented 5 years ago

There is no Network error. I am getting one error in console while selecting subtitle DOMException: Failed to execute 'endOfStream' on 'MediaSource': The MediaSource's readyState is not 'open'

Below is the url of mpd content which i am playing 'https://livesim.dashif.org/dash/vod/testpic_2s/img_subs.mpd'

mpd content which have SMPTE-TT based subtitle, i am able to play but subtitles are not coming.

kumarashu123 commented 5 years ago

hi, Can you tell me what is the issue?

leandromoreira commented 5 years ago

@kumarashu123 do you have the same problem when using the https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;panel=CUSTOM%20CONTENT;build=uncompiled click on Custom content e put yours

kumarashu123 commented 5 years ago

No, I don't have any problem when i am playing using above url. You can try this mpd https://livesim.dashif.org/dash/vod/testpic_2s/img_subs.mpd content to the above url.

I have cloned dash-shaka-playback and Running dev. server there i am not getting subtitles.

kumarashu123 commented 5 years ago

Hi any updated or I will be enhancement.

leandromoreira commented 5 years ago

have you tried with the lastest release?

kumarashu123 commented 5 years ago

Yes, I have tried with latest release. Not getting subtitles. In Latest release also fetch image query not going.

kumarashu123 commented 5 years ago

Can you please tell How i can used SMPTE-TT subtitles in my app.