Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose the underlying primitives #72

Open
kevmo314 opened this issue Nov 9, 2021 · 1 comment
Open

expose the underlying primitives #72

kevmo314 opened this issue Nov 9, 2021 · 1 comment

Comments

@kevmo314
Copy link

kevmo314 commented Nov 9, 2021

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. :)

@Sean-Der
Copy link
Member

Sean-Der commented Nov 9, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants