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

Benefit from the Membrane Pipeline using live_ex_webrtc #3

Open
francktchowa opened this issue Nov 20, 2024 · 1 comment
Open

Benefit from the Membrane Pipeline using live_ex_webrtc #3

francktchowa opened this issue Nov 20, 2024 · 1 comment

Comments

@francktchowa
Copy link

I'm using live_ex_webrtc for a project, and I've tweaked a couple of things into the code in order to have some additional functionalities. Currently I'm facing a big challenge, which is how to use a membrane pipeline with the packets I'm sending/receiving in the publisher or player in order to do some processing. Is there some documentation of references on how to do?

@mickel8
Copy link
Member

mickel8 commented Nov 25, 2024

Hi @francktchowa, copying what @sgfn wrote on our Discord:

live_ex_webrtc uses a PubSub as a source/sink of RTP packets. If you insist on using it, you'd have to write your own Membrane pipeline that would receive/publish the RTP packets to said PubSub and do whatever it is you want to achieve: (de)payloading, dump to/from file etc (edited)
[12:42 PM]
we don't have a plugin for that yet, seeing as live_ex_webrtc is a relatively recent addition to our ecosystem; you'd have to write the source/sink elements yourself
[12:42 PM]
ofc, contributions are always welcome :))

Let me know if this helps you or you need some further explanation.

Also, what kind of processing you would like to do?
And another question, would you like to process the packet before it is published on pubsub?

Any tweaks are weclomed as PRs! :)

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

No branches or pull requests

2 participants