Commit Graph

12 Commits

Author SHA1 Message Date
David Zhao
f3bba12b3e Component support for logger (#436)
* Component support for logger

With the ability to dynamically update log levels per component

* support hierarchical config

* consolidate pion logger to use components
2023-08-03 11:59:04 -07:00
David Zhao
c9e9ae555f Add license headers & NOTICE (#429)
* Add license headers & NOTICE

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 16:43:25 -07:00
David Colburn
cadccd5410 update notifier (#374)
* update notifier

* update drop test

* fix draining

* change webhookCheckInterval back
2023-05-09 17:21:13 -07:00
David Zhao
f54aaadb8c Revamped notifier to avoid out of order delivery (#350)
Moving to a structure where each URL occupies their own delivery goroutine.
This avoids blocking of notifications to other URLs.
2023-04-15 01:04:56 -07:00
David Zhao
2956c3424f Improve webhook resilience with retryablehttp (#345) 2023-04-12 16:28:35 -07:00
David Zhao
782f517a6e Use custom mime-type to avoid overeager JSON parsing. (#210)
Middlewares/server frameworks have a tendency of replacing req.body with
parsed JSON object. We do not want this behavior as our Webhook receiver
needs to validate the raw string body against the `Authorization` header
2022-09-19 21:03:55 -07:00
David Zhao
8dff6f89d2 Webhook events for track published (#106)
* Webhook events for track published

* timeout for webhook notifications to avoid hang
2022-03-18 22:24:01 -07:00
lukasIO
3280169f2d add content type header to webhook requests (#44) 2021-11-11 13:08:05 -08:00
David Colburn
4dede7984e Add recording_started webhook, add ctx to notifier (#39)
* add recording_started webhook, add ctx to notifier

* update test
2021-11-08 18:00:12 -06:00
David Colburn
e3e7ce0232 notifier interface, message bus queue (#25)
* notifier interface, message bus queue

* remove ctx

* change name
2021-09-22 15:32:51 -05:00
David Zhao
8d0a9538d3 refactor, removed recording-related webhooks 2021-08-08 22:53:23 -07:00
David Zhao
992c4b2da9 webhook support 2021-08-08 22:17:46 -07:00