Access HEVC elementary stream to use a custom decoder #3822
Unanswered
RodolpheFouquet
asked this question in
Q&A
Replies: 2 comments
-
Hi, if (appendedBytesInfo) {
_triggerEvent(Events.BYTES_APPENDED_END_FRAGMENT, {
quality: appendedBytesInfo.quality,
startTime: appendedBytesInfo.start,
index: appendedBytesInfo.index,
bufferedRanges: ranges,
segmentType: appendedBytesInfo.segmentType,
mediaType: type,
segmentData: appendedBytesInfo.bytes
});
} What might be even easier is to listen to player.on('mediaFragmentLoaded', _onMediaFragmentLoaded);
function _onMediaFragmentLoaded(e) {
// do something with e.chunk or e.request
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you very much! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to use my own wasm custom decoder to decode a DASH with an hevc adaptation set.
I see that I can modify this file https://github.com/Dash-Industry-Forum/dash.js/blob/development/src/streaming/utils/Capabilities.js to be able to accept an HEVC adaptation set even though the MSE check fails for it.
Then I guess, the next step should be to get the MP4 segment out of DASH.js. Do you think there is an easy way to register a callback that is triggered when a segment is loaded, parsed with an access to the segment payload?
Kind regards
Beta Was this translation helpful? Give feedback.
All reactions