Hacker Newsnew | past | comments | ask | show | jobs | submit | mboehm's commentslogin

Which country/provider is that?


Romania / Digi


When did you use 1Password for the last time? Not a big fan by myself, but the points you are mentioning are fully available


What images do you use? I would love to hear about your setup to debug lambda functions.


I use the AWS Toolkit for PyCharm; it automates most of the process, including pulling an image (built by Amazon, I believe) that emulates the Lambda environment. All I have to do is write the Lambda function with the correct method signature, designate it as such, start a debug session, and PyCharm + Docker do the rest. It's insane that PyCharm Professional only costs $100 or so, it saves me that much in development time in a single day.

Edit: all of the above will work with the free version of PyCharm, I believe, but without the in-IDE control panel for Docker (which you don't absolutely need).


You might want to look into OVH's k8s offering [1]. You only pay the worker nodes and the general purpose instances cost 26,18 € per month offering 2vcpu and 7 gb RAM [2].

[1] https://www.ovhcloud.com/en/public-cloud/prices/#568

[2] https://www.ovhcloud.com/en/public-cloud/prices/#419


Thank you!


We started our journey with Janus about three months ago and I can just fully recommend it. It is an amazing well-written piece of software which is just as flexible and integrative as developers wish. E.g. Slack used Janus, at least in 2016 [0]. It is important to understand: Janus offers the ingredients for building great WebRTC applications (examples [1]), whereas Jitsi is more like a ready-to-go solution and got much more attentation as Janus did.

Lorenzo and his colleagues are doing a really great job.

In the space of SFU/MFU, one really needs to decide beforehand what kind of solution is suitable for which requirement. I have chosen Janus because we could integrate it by 100% in our software. For example, I was also looking into Jitsi. But compared to Janus it feeled so much more complicated and not suited for that specific job.

However, it is important to point out, that this is no a ready-to-go solution. There is a long list of things you will have to dig into:

- ICE (a way to connect if you switch between WIFI and LAN or to punch a hole into your fw) [2]

- Cross-browser compatibility (Thank you iOS [4])

- TURN/STUN (Which matrix of udp/tcp and ports is needed for Hole Punching?), I recommend coturn.

- Scalability: How many clients are planned? In my experience, CPU and bandwith are bottlenecks, we went with horizontal scaling

- How do you gonna test your WebRTC application? So far great results with https://testrtc.com, but you probably also could accomplish a lot with Selenium.

- Simulcast/Bitrate or Unified Plan (Use available bandwith and adapt on-the-fly) [3][5]

But once you got it running, it is an amazing feeling. We are in 2020 and it is possible for an SMB to offer video conferencing to customers via a web-browser using your own infrastructure while being compliant to GPDR and other stuff.

[0] https://webrtchacks.com/slack-webrtc-slacking/

[1] https://janus.conf.meetecho.com/demos.html

[2] https://webrtcglossary.com/ice/

[3] https://webrtcbydralex.com/index.php/2018/03/14/extending-ja...

[4] https://webrtchacks.com/guide-to-safari-webrtc/

[5] https://www.callstats.io/blog/what-is-unified-plan-and-how-w...


Out of curiousity: What is an edge device? An IP camera? Depending on the professional grade of your use case, you could directly talk to meetecho, as they are the original developers and offer consultancy around Janus.


IP cameras mostly, some remote-audio stuff - I think that may be a logical next step for me so I'm going to bring that up to leadership tomorrow.


I used Janus to map my IP camera's stream to a WebRTC page using a Raspberry Pi's hardware transcoder. It works quite well.


I'd be super interested in seeing what you've got! Is your implementation posted anywhere?

I really like your Stylus project btw!


There's two parts to the implementation. First part is a docker container that will transcode a stream for Janus using the hardware on the Pi:

https://github.com/mmastrac/gst-omx-rpi-docker

I run this with the following config (just remember to map the RPi /dev/vchiq device into the container!):

  gst-launch-1.0 rtspsrc location="rtsp://admin:(password)@(host):554/cam/realmonitor?channel=1&subtype=0" latency=500 ! rtph264depay ! h264parse ! omxh264dec ! omxh264enc target-bitrate=500000 control-rate=1 ! video/x-h264, profile=baseline ! h264parse ! rtph264pay name=pay0 config-interval=1 pt=96 ! udpsink host=(janus) port=8004 sync=false
The second part is the Janus configuration magic that creates the appropriate stream:

  [gstreamer-sample]
  type = rtp
  id = 1
  audio = no
  video = yes
  videoport = 8004
  videopt = 96
  videortpmap = H264/90000
  videofmtp = profile-level-id=42E01F\;packetization-mode=1\;level-asymmetry-allowed=1
  videobufferkf = yes
> I really like your Stylus project btw!

Thanks! Been working on Stylus a bit more this weekend. Nearly have all the features I need for my own setup.


Answering for myself, not for bbeausej. We are currently using coturn. It is quite easy to setup, you have to dig a little into the configuration parameter and that's it - I would recommend it.

Oh well, you probably should use the rest api for generating credentials on the fly and think about scaling (depending on your needs).


What percentage of sessions do you see going through turn?


There is an actively maintained fork of iText: https://github.com/LibrePDF/OpenPDF

From their background section: It is a fork of iText version 4, more specifically iText svn tag 4.2.0, which was hosted publicly on sourceforge with LGPL and MPL license headers in the source code, and lgpl and mpl license documents in the svn repository. Beginning with version 5.0 of iText, the developers have moved to the AGPL to improve their ability to sell commercial licenses.


I guess because they do not have a common memex yet. :-) But yes, RDF should fit very well. As others pointed out already, I also dislike the idea of being locked into a proprietary file format. This should not be a problem using RDF - I guess we all should think about that idea.


Well, scaling a filesystem does not really sound easy to me. Scaling a dbms is rather common, I guess.

I rather question, why do they store their binaries in mongodb? imho, s3 would be the perfect fit for that requirement.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: