News for hackers. Stuff that matters.
Re:Show HN: I built a simple web app for streaming videos by samtimalsina on Sunday October 04, 2020 @10:43PM (#24684080)
Sounds like a cool idea, wish there was a demo room without uploading a file. Can you talk a little bit about how the video is handled on the server? What steps do you take to keep the file secure and protect the privacy of the users?
Re:Show HN: I built a simple web app for streaming videos by anxiostial on Sunday October 04, 2020 @10:57PM (#24684154)
the server does not actually ever receive any part of the video, it is peer to peer (webrtc).
Re:Show HN: I built a simple web app for streaming videos by anxiostial on Sunday October 04, 2020 @11:03PM (#24684182)
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.

Re:Show HN: I built a simple web app for streaming videos by Minor49er on Monday October 05, 2020 @10:41AM (#24688165)
You should keep the public rooms up, but show a viewer counter and duration of how long the room has been alive. That way, if someone comes onto the page, they can see if a room has been actively streaming to an audience, which would be less likely to disconnect, versus a room that someone created on a whim that they don't intend on keeping around
Re:Show HN: I built a simple web app for streaming videos by anxiostial on Monday October 05, 2020 @11:02AM (#24688361)
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.
Re:Show HN: I built a simple web app for streaming videos by Minor49er on Tuesday October 06, 2020 @02:36PM (#24700910)
You'd probably just have to have people create accounts, verify that they aren't bots through email and captcha, then wait for them to achieve a certain amount of cred before allowing them to have a public channel. And include a flagging system, of course. And add moderators. So yeah, not exactly a short list of things!