Better HN
topnewbestaskshowjobs
Log inSign up

anxiostial

107 karma · joined Oct 5, 2020 (6y ago) · 28 submissions

Submissions

comment 5y ago · link · parent

and this is why I became a web developer.

comment 5y ago · link · parent

well avoid startups to begin with.

comment 5y ago · link · parent

did you want to share more details?, like sales numbers, time it took to build, why you decided to return to a normal job, etc.

comment 5y ago · link · parent

what a pointless post, you didn't really make any real arguments here, you just complained that we already have stuff but didn't explain why you think it is redundant, because there are actually differences between all of these (Qt vs Electron vs Flutter vs etc) and then complained a bit about google, like why even?

comment 5y ago · link · parent

You are making a lot of statements here without anything to really back it up, why is it the holy grail of software development? measuring output and actually improving developer performance are not even remotely the same thing, would it not make more sense to spend time on anything related to the actual development, like training developers for example?

comment 5y ago · link · parent

It is pretty ironic how much time is wasted on trying measure developer productivity.

comment 6y ago · link · parent

cool, and yea I am not sure if people would want something like this at all, it just seemed like a fun idea to me.

comment 6y ago · link · parent

it was within the first hour

comment 6y ago · link · parent

no but probably will be, mostly not making it public right now because it isn't a pretty project to look at atm.

comment 6y ago · link · parent

Yea I would like to and maybe I will revisit the idea, but the inappropriate content issue has me concerned, so until I have some kind of solution for that I think its more responsible to disable it.

comment 6y ago · link · parent

oh wow thank you, you created an awesome library, I feel kind of bad only giving you praise in a comment on my show hn post, but keep up the great work!

comment 6y ago · link · parent

It would have certainly been a lot of work to do that custom, but I would have used webrtc for that as well. I certainly would not have implemented a torrent client myself, which is something that is nice to have as a library, because adding support for creating a room with a magnet uri instead of a local file would be trivial now.

comment 6y ago · link · parent

no but maybe I will add a way to subscribe to a mailing list of some sort, might be a good idea, did not really expect this much reception haha.

comment 6y ago · link · parent

I believe it is largely time related, I did not want a broken UI and prefer adaptive UIs, I will look into adding mobile support at some point.

comment 6y ago · link · parent

[copied from another answer]

yea so I should have clarified, when a room creator closes the tab, the room is basically dead, anyone who enters will never connect or see anything. This basically makes public rooms completely useless so I may remove them for now (possibly forever).

comment 6y ago · link · parent

yea so I should have clarified, when a room creator closes the tab, the room is basically dead, anyone who enters will never connect or see anything. This basically makes public rooms completely useless so I may remove them for now (possibly forever).

comment 6y ago · link · parent

and I never will, promise!

comment 6y ago · link · parent

Thanks, so what do you mean by sync viewing? right now everyone is synced to the room creator, which is the only user with controls, and obviously it is super simple / restricted but works for a POC.

Yes, very much, chat is probably the next big feature I would tackle.

comment 6y ago · link · parent

its pretty unlikely since these aren't public torrents, but either way please don't do that.

comment 6y ago · link · parent

well so is this haha, yea functionally its basically the same app right now, but like I said though I do want to expand it a lot, this was very much a POC for me.

comment 6y ago · link · parent

thanks.

comment 6y ago · link · parent

There is nothing preventing bad content atm, and I may look into this, but with it being largely client side (peer to peer) I have a feeling that will be tricky and obviously anyone knowing what they are doing could get around the safeguards.

There is no chat functionality but yea that is very high on my list of todos.

Not sure, I have never come across anything like that but I feel like its something people would like, especially considering most people have been locked in doors more often than usual lately.

comment 6y ago · link · parent

I deployed it a few hours ago so sorry no haha but yea it is almost entirely peer to peer so it should. I don't really have any kind of analytics in place anyways.

comment 6y ago · link · parent

and regarding a public room, just uncheck the private boolean when creating a room, it will then show up for everyone at: https://peer-flix.herokuapp.com/.

although public rooms are kinda pointless right now because once you close your browser the room is basically dead and is not being cleaned up atm.

comment 6y ago · link · parent

the server does not actually ever receive any part of the video, it is peer to peer (webrtc).

comment 6y ago · link · parent

yea so there is a "drift threshold" of 2 seconds, and my thinking for this is that instead of having the frames jump around many times when we go out of sync it would be preferable to allow for some difference between peers to reduce the number of times we need to sync up.

comment 6y ago · link · parent

So the idea is that you select a file, create a room and then share the URL with anyone you want to join and then the video is streamed to everyone connected. All communication between occupants is peer to peer, the room creator has the video controls and any action is relayed to all peers. I built this thing in my spare time because it seemed like a fun idea to be able to stream a video file between a group of friends and it is very much a first pass, things will be broken, features missing, etc. I do plan on expanding it further when I have more spare time but please do comment with any feedback, roast it if you like.

28.

Show HN: I built a simple web app for streaming videos(peer-flix.herokuapp.com ↗)

127 points · by anxiostial · 6y ago · 55 comments