I also tried to hack together WebRTC headlessly a while ago actually! I looked at GStreamer and Kurento, but ended up using Janus instead. Anyway, turns out you can use Xvfb, essentially a "fake screen", to headlessly run GUI programs: https://en.wikipedia.org/wiki/Xvfb , which is what we're doing with Firefox.
back
1 comments
Thanks, I will look into it. I started off with Janus too but I had some odd bugs and segfaults. Since time was short I decided to give Kurento a try and since it worked, I stuck with that. There are still some warts but it does the job so far.
Xvfb looks to be pretty straightforward about what it does; now I just need to figure out how to control firefox after it was started.