Skip to content

Commit

Permalink
Dash Adapter does not support Default track from stream (#219)
Browse files Browse the repository at this point in the history
See here JSDoc: Class: shaka.extern
the Track.primary filed in dash parsed track (return form shaka.getTextTracks() API) indicates the default track
Which ignored by the adapter
(Unlike Hls Adapter which handles default track which indicated by Track.default field there)

solves FEC-12776
  • Loading branch information
JonathanTGold authored Dec 21, 2022
1 parent 338ee11 commit aa167de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dash-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ export default class DashAdapter extends BaseMediaSourceAdapter {
id: textTrack.id,
kind: kind,
active: false,
default: textTrack.primary,
label: textTrack.label,
language: textTrack.language
};
Expand Down

0 comments on commit aa167de

Please sign in to comment.