dot-cafe / beam.cafe

🌠 Blazing fast file transfer app focused on user-experience. Fastest way to share files without uploading them.
https://beam.cafe
MIT License
438 stars 14 forks source link

Unable to stream to VLC & transfer speeds extremely slow #7

Open karyeet opened 4 years ago

karyeet commented 4 years ago

What is the current behavior?

I am attempting to stream a video file from my main computer to other devices, such as my phone. To do this I am using the streaming feature of VLC and have attempted this with both the stream link & download link: https://beam.cafe/b/stream/xxxxxxxx https://beam.cafe/b/file/xxxxxxxx

However, after 4.5MB\~5MB beam.cafe stops sending data (& vlc stops requesting/accepting it). This issue happens on both my phone and computer. I think it may be because beam.cafe is transferring data at a very slow rate, I'm estimating 500~800kpbs (even when downloading the same file).

I am trying to stream a 1.5GB mkv file. I have both 50mbps upload and download speed.

What is the expected behavior?

The video streams to completion & transfer speeds match or approach what speedtest.net reports.

Your environment:

Version (see about page): 1.1.0.0
Browser-version: Microsoft Edge (Chromium)
Operating-system: Windows 10 Pro 1909
karyeet commented 4 years ago

Just read its not true P2P, which explains the speeds. I'd recommend changing the readme to be more clear.

simonwep commented 4 years ago

The README doesn't mention P2P at all actually, but I've changed the streaming phrasing. I never tried using the VLC streaming feature, but you're right that It doesn't work. I've tried it with a mp4 file (I also have 50mbit) and had no performance issues, not sure what was the problem in your case.

PS: It wouldn't be possible to stream things at all that way if it wouldn't be a piped over the server, see #3 and my comment

PS2: I just tried streaming an MKV file and had no problems, I've carefully implemented partial streaming and It shouldn't be a problem.