pion / interceptor

Pluggable RTP/RTCP processors for building real time communication

Home Page:https://pion.ly/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expose the underlying primitives

kevmo314 opened this issue · comments

Summary

Expose the underlying primitives in pion/interceptor, such as SenderStream and friends.

Motivation

A lot of these primitives are quite useful, it would be nice to use them without the interceptor API. I find the interceptor API to be a bit cumbersome to integrate with and some of the primitives are nice to use as-is.

Describe alternatives you've considered

Right now I'm sorta copying the code into my own codebase. It's not great. :)

@kevmo314 Would love to make it easier for you!

I am all for providing better APIs. It will require a fair amount of work to design them, but I am all for it. We need to consider the use cases and make sure we don't lock anyone out etc..

We might right into cases where duplication is better and that's ok also :)

Feel free to propose things here or create more tickets! We can also chat about it in Slack if you prefer.