News for hackers. Stuff that matters.
Re:Building video chat into my personal website using WebRTC... by Sean-Der on Monday May 03, 2021 @06:22PM (#27031584)
You made me curious about how large Pion is, 162k lines! I made sure to delete all test files first.

    sean@SeanLaptop:~/go/src/github.com/pion$ find . -type f -name '\*.go' | xargs wc
       47871  162998 1394063 total


pion/webrtc is the largest package with 58k lines. Every other package (ICE, DTLS, SCTP....) are all around 20k lines. It feels wrong that WebRTC is so large (and not pushed into sub packages) will for sure be digging into that for fun in the next few weeks :)
Re:Building video chat into my personal website using WebRTC... by elithrar on Monday May 03, 2021 @06:45PM (#27031858)
There are:

- A lot of examples: https://github.com/pion/webrtc/tree/master/examples - A lot of tests - if you exclude `_test.go` and `examples/` you are down to ~58k loines, which is only ~3x bigger than the (much simpler!) ICE and SCTP packages.

With a naive exclude via grep -v '_test.go' and grep -v 'examples/*' we are down to:

   16180   58136  498113 total
Re:Building video chat into my personal website using WebRTC... by tschellenbach on Monday May 03, 2021 @08:31PM (#27032705)
thanks for the amazing work on Pion, seriously impressive stuff
Re:Building video chat into my personal website using WebRTC... by Sean-Der on Monday May 03, 2021 @09:51PM (#27033233)
Thank you! If you are ever need help or are interested in getting involved I am always around. https://pion.ly/slack