Skip to content

DASH/WASM: actually reject the DASH_WASM.initialize's Promise if it fails#1238

Merged
peaBerberian merged 1 commit intomasterfrom
fix/DASH_WASM-may-actually-throw
Apr 4, 2023
Merged

DASH/WASM: actually reject the DASH_WASM.initialize's Promise if it fails#1238
peaBerberian merged 1 commit intomasterfrom
fix/DASH_WASM-may-actually-throw

Conversation

@peaBerberian
Copy link
Collaborator

I forgot to add a line on the implementation of the DASH_WASM.initialize API (which allows to "initialize", i.e. load and compile the linked WebAssembly file, the WASM-based DASH parser) which led to the Promise returned by this method still resolving even if the initialization failed.

The error was still logged and the internal status of the DASH_WASM feature was still updated to indicate failure, but that's not what the application is most likely listening to.

…ails

I forgot to add a line on the implementation of the `DASH_WASM.initialize`J
API (which allows to "initialize" the WASM-based DASH parser, i.e. load
and compile its linked WebAssembly file), which led to the Promise returned
by this method still resolved even if initialization fails.

The error is still logged and the internal status of the `DASH_WASM`
feature is still updated to indicate failure, but that's not what the
application is most likely listening to.
@peaBerberian peaBerberian added bug This is an RxPlayer issue (unexpected result when comparing to the API) DASH Relative to the DASH streaming protocol WASM Relative to our WebAssembly code labels Apr 3, 2023
@peaBerberian peaBerberian merged commit 1116ea5 into master Apr 4, 2023
@peaBerberian peaBerberian added this to the 3.30.1 milestone Apr 4, 2023
@peaBerberian peaBerberian mentioned this pull request Jun 13, 2023
@peaBerberian peaBerberian modified the milestones: 3.30.1, 3.31.0 Jun 13, 2023
@peaBerberian peaBerberian deleted the fix/DASH_WASM-may-actually-throw branch July 6, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This is an RxPlayer issue (unexpected result when comparing to the API) DASH Relative to the DASH streaming protocol WASM Relative to our WebAssembly code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant