Glimesh / janus-ftl-plugin

A plugin for the Janus WebRTC gateway to enable relaying of audio/video streams utilizing Mixer's FTL (Faster-Than-Light) protocol.
https://hayden.fyi/posts/2020-08-03-Faster-Than-Light-protocol-engineering-notes.html
GNU Affero General Public License v3.0
46 stars 11 forks source link

📚 Update cpp-httplib, plus additional logging on failed HTTP requests #81

Closed haydenmc closed 3 years ago

haydenmc commented 3 years ago

This change updates us to v0.8.4 of cpp-httplib, which includes a decent number of fixes to bugs that I suspect may be causing some of our HTTPS request failures we're seeing in production.

As a result of some of the changes in the httplib update, a few changes were made to the ServiceConnection implementations to avoid copying of httplib::Client and httplib::Result instances (they are now backed by unique_ptr).

Additional logging detail was also added in the Glimesh HTTP request failure case so we can determine root cause if this doesn't resolve the failures.

Verified by testing against local glimesh.tv instance.