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 upImprove Time to First Frame #530
Comments
This comment has been minimized.
This comment has been minimized.
|
Just pointing out that webseeding it broken at the moment because the handshake is being done with itself. The webseed peers are the first thing added iirc. We could use another video with greater compression too. |
This comment has been minimized.
This comment has been minimized.
Just fixed that with a new bittorrent-swarm version. |
This comment has been minimized.
This comment has been minimized.
|
There's a 3 initial seconds cut version here: sintel-webtorrent.mp4 We could generate a new torrent file with 2 webseeds if @feross decides to use this version and also host it in webtorrent's website. The original file is greatly encoded and compressed so there was no point on lowering the resolution or making it stereo only. |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero Nice, that's an improvement! If we're going to have to update all the examples and everything, I feel like we should probably switch to a cooler sample video. There was some brainstorming about that here: webtorrent/webtorrent.io#27 @mafintosh had the idea to make a combined video with lots of different public domain / creative commons clips, kind of like a trailer video! |
This comment has been minimized.
This comment has been minimized.
|
i found a problem if I have many webseed for a file, but in different speed. for example:
then seems it will wait for slow connection, after first several frames, it stopped, and start play again after a slow connection is downloaded (or failed). I don't know what mechanism could resolv it. just finger out a problem I have met. why do I put lot of junk sources in webseeds? for users in different location they will bahave different. I live in China and here network is very weird. |
This comment has been minimized.
This comment has been minimized.
|
@zh99998 You can always use a CDN. If you decide not to, you should limit the max web conns to 1. |
This comment has been minimized.
This comment has been minimized.
|
1 CDN is now satisfy different location users. for example: a user in U.S connection good with CDN1 or CDN2, while user in China is good with CDN3 if I limit conns to 1, and when a user in China connected to CDN1, it will be extremely slow. |
On https://webtorrent.io, we're showing Sintel, which is well-seeded and has a web seed (i.e. it's also available over http). On medium-speed public wifi here in New Zealand (where I'm visiting), the Time to First Frame is a few seconds. I think there's more we can do to make this faster.
Possible ideas:
videostreamshould get better! cc @jhiesey