@svta/common-media-library
Version:
A common library for media playback in JavaScript
19 lines • 343 B
JavaScript
/**
* Parse a ExtendedLanguageBox from an IsoView
*
* @param view - The IsoView to read data from
*
* @returns A parsed ExtendedLanguageBox
*
* @group ISOBMFF
*
* @beta
*/
export function elng(view) {
return {
...view.readFullBox(),
extendedLanguage: view.readUtf8(-1),
};
}
;
//# sourceMappingURL=elng.js.map