dash.js
Open Source Media Player
Seamless and reliable DASH streaming on any browser-based device
View onGitHub
5496
1728
408.8k
Sponsors
Trusted by the industry leaders
Latest updates from GitHub
What is the event, on and off subtitles?this.dsh.enableText(!this.dsh.isTextEnabled())
this.dsh.on(dashjs.MediaPlayer.events.TRACK_CHANGE_RENDERED, (e) => {
console.log(this.dsh.isTextEnabled());
});
The TRACK_CHANGE_RENDERED event is triggered twice when loading and is not triggered when subtitles are disabled.
What kind of listener reacts when on, off?Opened by Zuldek1994822—3 hours ago
Auto-tune the quality, within the size of the containerOn mobile devices, 4k video is inserted.
Some smartphones just can't handle it...
Without limiting the maximum bitrate.
It is possible, when auto-selecting the quality, that dash adjusts the video quality relative to the aspect ratio of the video block or otherwise.
I found the setting, but in my opinion it's not it.
```
(dsh = dashjs.MediaPlayer().create()).updateSettings({
streaming: {
abr: {
usePixelRatioInLimitBitrateByPortal: true,
autoSwitchBitrate: {
video: true
}
}
}
});
```Opened by Zuldek1994822—3 days ago
Subtitle rendering intermittently stopping during playback on Smart TVsHello ,
We are facing an occasional issue where subtitles stop displaying while video playback is still running normally. The behavior appears to be random and so far has been difficult to reproduce.
What we know so far:
- The issue has been reported on Smart TV devices
- We currently don’t have any logs that capture the moment when it happens
- The reports are based mainly on end-user feedback
- Subtitles only reappear after a user interaction, such as seeking in the content
We wanted to check whether this is something you have already encountered, and if you might have any ideas or hypotheses about what could cause this kind of behavior.
Any insight would be greatly appreciated.Opened by testeur-990—19 days ago






