[Bug 753769] srtpenc: add utility for custom RTP packet management before being protected

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 19 01:44:20 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753769

--- Comment #8 from Miguel París Díaz <mparisdiaz at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #6)
> Why are the buffers that go into srtpenc not writable?
> 

If for example you have an RtxQueue before.

> For custom RTP extension headers, a custom payloader/depayloader (or should
> we call it formatter/parser?) that goes after/before the codec
> payloader/depayloader is definitely the better idea. It would also not cause
> any additional copies to happen unless for some reason something in your
> code pushes unwritable buffers.

I agree with you, it is a better design, but again the point is the efficiency.
Now I am using a pad probe (similar as using a element) and I see that adding
extension headers is too cost. Because of this I want to study if it can be
avoid adding it in the payloader.
I am attaching a callgrind graph that could help us to find a solution.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list