ConnorRigby
Membrane RTSP source
I’m building a project for streaming audio/video from a network webcam. I’ve successfully managed to get h264 stream data after modifying the built in Transport. I believe my next goal is to set it up to be a a Membrane Source, but i can’t find any existing documentation in the hexdocs for this.
Has anyone built their own membrane Source?
Am i on the right track or way off?
Marked As Solved
mat-hek
Hi @ConnorRigby, you’re totally right - source is the way to pass the stream into a Membrane pipeline. The docs you’re looking for are here: Membrane.Source. As described there, sources should implement Membrane.Element.Base and Membrane.Element.WithOutputPads behaviours. Various source implementations are available at Membrane GitHub, for example file source or portaudio source.
Also Liked
kip
Just jumping in to say I’m really enjoying the thread and even more the tenacity by both of your to get this thing going!
mat-hek
Perfect! Really glad you made it work
And thanks for all the PRs ![]()








