Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upweb seed format jpg and mp4 #885
Comments
This comment has been minimized.
This comment has been minimized.
|
I just checked out the links you posted and did some investigation. It appears that your server is returning an invalid response for the jpg file. WebTorrent makes a request with the following header, to indicate the range it wants:
But the server responds with this header, indicating it is returning the wrong bytes:
But for the .mp4 file, it's working fine:
I have no idea why your server (which looks like cloudflare's nginx) would be doing that. But I don't think this is a WebTorrent bug, so I'm going to close this issue. Feel free to continue discussion and do share what you find out if you solve this! |
This comment has been minimized.
This comment has been minimized.
|
I am sorry for this is my problem. The proxy server have cache-control header for some extension, i need to close it. Thank you for your help. |
This comment has been minimized.
This comment has been minimized.
|
Glad you got it figured out! |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Hi there,
I have some question of addWebSeed function. The problem is addWebSeed not work at jpg files.
sample:
mp4 is work: https://www.extratown.com/webtorrent/download/public/2016/08/13/sintel.mp4
jpg can not work: https://www.extratown.com/webtorrent/download/public/2016/08/13/IMG_20160229_164424-10.jpg
I checked the network mp4 is 206 HTTP_RANGE, but jpg is 200.
Thank you!