p2p-media-loader icon indicating copy to clipboard operation
p2p-media-loader copied to clipboard

Hope the loader can support fetch loading

Open hkchenhongyi opened this issue 4 years ago • 3 comments

Hope the loader can support fetch loading

hkchenhongyi avatar Mar 11 '20 01:03 hkchenhongyi

If you mean Fetch API then I think it possible to implement all the requirements (automatic redirects and receive chunked data while downloading) with fetch but I don't know what advantages will it give.

mrlika avatar Mar 11 '20 13:03 mrlika

It supports more parameters! I can use the mode parameter to do no-cors, bypassing some verification

If you mean Fetch API then I think it possible to implement all the requirements (automatic redirects and receive chunked data while downloading) with fetch but I don't know what advantages will it give.

It supports more parameters! I can use the mode parameter to do no-cors, bypassing some verification

hkchenhongyi avatar Mar 11 '20 14:03 hkchenhongyi

you can check how to solve this problem on your server side on https://swarm.video/#/home

cheers

mullerivan avatar Nov 22 '20 03:11 mullerivan