News for hackers. Stuff that matters.
Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by lganzzzo on Tuesday October 23, 2018 @07:53PM (#18288520)
C++ HLS streaming server built with oat++ zero-dependency framework. (about oat++ see: https://github.com/oatpp/oatpp)

Features:

- Serve embedded video

- Serve HLS stream

Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by funkythings on Tuesday October 23, 2018 @08:59PM (#18288830)
This looks great! Also, nice to see some modern Cmake in the wild ;)
Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by cheez on Tuesday October 23, 2018 @08:23PM (#18288661)
This is actually pretty cool, very little boilerplate it seems. Nicely done.
Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by lganzzzo on Tuesday October 23, 2018 @08:35PM (#18288726)
Thank you, I appreciate your feedback!
Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by theneedyguy on Wednesday October 24, 2018 @02:39AM (#18290182)
will you be able to use OBS to point it to the server in the future?
Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by lganzzzo on Wednesday October 24, 2018 @04:57AM (#18290773)
Thank you for the question,

As far as I can see - it should be possible. In any case additional tweaks should be made to this example.

Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by herbstein on Tuesday October 23, 2018 @10:52PM (#18289327)
I did something similar as a proof-of-concept in Rust. Might be of interest to some people.

https://gitlab.com/Herbstein/restreamer

Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by quotemstr on Wednesday October 24, 2018 @12:13AM (#18289673)
With C++ metaprogramming as powerful as it is, why are macros (or what I presume to be macros) in the class body still necessary? It reminds me a bit of 1990s MFC, and not in a good way.
Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by jcelerier on Wednesday October 24, 2018 @04:34AM (#18290639)
> why are macros (or what I presume to be macros) in the class body still necessary

there is one thing that templates cannot do, and that is transform an identifier into a string.

Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by pjmlp on Wednesday October 24, 2018 @04:34AM (#18290632)
Usually the reason is that there are still a few cases where macros win, hence the ongoing proposals for compile time reflection for code generation.

As for MFC, 2018s MFC looks pretty much like 1990s MFC, for those not willing to adopt .NET or UWP.

Re:Show HN: C++ Http-Live-Streaming Server built with Oat++ ... by quickthrower2 on Wednesday October 24, 2018 @04:39AM (#18290663)
Some kind of c++ conference happening today? Lots of c++ submissions!