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 upStreaming Hybrid to Browser stuck after a few seconds #1079
Comments
This comment has been minimized.
This comment has been minimized.
|
On setup 1, I can confirm if you wait long enough, it will eventually proceed, any possible this belongs to tracker false? |
Closed
This comment has been minimized.
This comment has been minimized.
|
It's happening the same to me. Why does it works this way? Did you find a solution? |
This comment has been minimized.
This comment has been minimized.
|
Same problem. Opened issue here webtorrent/webtorrent-hybrid#68 |
This comment has been minimized.
This comment has been minimized.
|
hope this problem not belong to |
This comment has been minimized.
This comment has been minimized.
|
It seems like all developers are resting :D |
This comment has been minimized.
This comment has been minimized.
|
Please continue discussion of this issue here: webtorrent/webtorrent-hybrid#76 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of WebTorrent?
0.98.13
What operating system and Node.js version?
Ubuntu 17.04, node v7.3.0
What browser and version? (if using WebTorrent in the browser)
chrome 57.0
What did you expect to happen?
Smooth continuously streaming from nodejs to browser, both are connect to tracker.
What actually happened?
Streaming only work for a little (about 2-5 MB) at the beginning, then differently behave depend on the environment.
Setup 1: tracker - nodejs seeder - browser as peer
On 2nd, it will only seed for 2 -> 6 MB at the beginning and then stop.
On browser (3rd), if I'm lucky with 2nd seed more than 3 MB, it will play the movie for a few second and then stop, after this point the whole thing stall forever (or at least 30 min without any progress).
On 2nd, it not recognize there is a browser peer anymore
Running time: 38 minutes Time remaining: N/A Peers: 0/0Setup 2: tracker - nodejs seeder - nodejs peer
It will first download some big amount 40-200 MB at the beginning and then stop.
But on both terminal webtorrent hybrid, it not losing connection of each other
Running time: an hour Time remaining: N/A Peers: 1/1After sometimes (about 5 min or what?) it continue download for 40-200 MB and stop, and keep repeating that until finish (But I should expect it to continuously download to the end?)
About the speed, it get around 3.5 - 4 MB / seconds, but this experiment are on the same computer, it should be as fast as hard drive - 70 MB or more?
Conclusion
I did again with some many more complex test, conclusion:
Hybrid can keep up connection, after sometimes they heal (but they should work perfectly without pause)
When a new hybrid connect to the swarm it kick browser currently connect to swarm for a little more and then stop (they dump each other and keep no contact no more).
*EDIT: on setup 1, if wait for more than an hour, movie on browser does proceed (at super slow speed)