GNOME Bugzilla – Bug 797103
rtmp: Don't set debug callback of librtmp depending on debug level
Last modified: 2018-11-03 14:31:16 UTC
When an application explicitly disable "rtmp" debug category, don't hook debug callback of librtmp. The application might want another debug callback instead of that of gstreamer.
Created attachment 373573 [details] [review] rtmp: Don't set debug callback of librtmp depending on debug level
Well, debug categories can be enabled at runtime, in which case this wouldn't work any longer. It's also a big unexpected really, I think one wouldn't expect the application to use librtmp directly as well. How/why are you using it?
(In reply to Tim-Philipp Müller from comment #2) > Well, debug categories can be enabled at runtime, in which case this > wouldn't work any longer. > > It's also a big unexpected really, I think one wouldn't expect the > application to use librtmp directly as well. How/why are you using it? My server side application actually uses both librtmp directly and also rtmpsink in the identical process actually :( To pull rtmp packet from remote, I uses librtmp directly with customized rtmp packet handler, but the handler is not suitable to be implemented in rtmpsrc. The problem is gstreamer rtmp plugin replaces already installed librtmp debug callback regardless of "rtmp" debug level.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/782.