Examples break when using streaming-wadors
See original GitHub issueI ran into an issue while doing the examples and trying to use steaming-wadors
in all the Volume examples, imageIds are created and cached with the createImageIdsAndCacheMetaData helper function and ‘VOLUME’ (upper case string) for type. https://github.com/cornerstonejs/cornerstone3D-beta/blob/659888db44ab70d562f7f52872c822feb5c1db03/packages/core/examples/multiVolumeAPI/index.ts#L214
After closer inspection of the helper function you, which prefix is determined here
but VOLUME constant is
const VOLUME = 'volume';
When I fix the constant to ‘VOLUME’ the streaming loader fails to initialize with the following exception… “Error: cornerstoneWADOImageLoader requires a copy of Cornerstone to work properly.”
Issue Analytics
- State:
- Created a year ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
The Streaming Wars Take a Commercial Break - ShareCafe
Netflix ignited the so-called streaming wars by plowing billions of dollars into commercial-free, on-demand content, drawing Disney and ...
Read more >Disney: The Unprofitable Streaming Wars Continue, With ...
Bob Chapek is officially out from the Land of Mouse, with some expecting Bob Iger to acquire WBD. Unlikely, in our opinion.
Read more >One Clear Casualty of the Streaming Wars: Profit - Doug Shapiro
Why is streaming less profitable? Starting with economic theory, unbundling digital information goods inherently reduces profits and ...
Read more >The Streaming Wars Explained | All Stocks Analyzed - YouTube
Skip the waitlist and invest in blue-chip art for the very first time by signing up for Masterworks: ...
Read more >The major battle of the 2020 streaming wars will be over ads
Last month, AT&T announced that its Xandr ad-tech arm is now selling video ad time during pause breaks. Hulu, which is majority-owned by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fantastic!
I missed the part about dynamic-imports from cornerstoneWadoImageLoader for upgrading to 4.0. Adding the alias for dynamic imports and adding CopyWebpackPlugin to copy to the build folder solved my last issue.
My examples are working using streaming-wadors now.
Thanks for your help.
I was also getting same error while loading Volume with ‘streaming-wadors:’ . As suggested I have added below config in my webpack , so now I am not getting error ‘cornerstoneWADOImageLoader requires a copy of Cornerstone to work properly’
resolve: { alias: { ‘cornerstone-wado-image-loader’: ‘cornerstone-wado-image-loader/dist/dynamic-import/cornerstoneWADOImageLoader.min.js’, },
But Volume not getting loaded properly and getting error , please see attached pic
Thanks