memory leak in webrtc stream transcode to rtm
skylli
lixiongsheng at wilddog.com
Fri Aug 26 13:33:30 UTC 2016
so many memory haven't release affter
gst_element_set_state(p_tsc->e_rtpbin,GST_STATE_NULL); call. i want to
transcode webrtc streamer to rtmp an send to rtmp-server. Cause server mey
receive mulitiple webrtc stream. So i creat pipe when new webrtc session
connect, i use rtpbin handle rtp package, when stream coming build
rtpvp8depay --> vp8dec bin in pad-add event callback and link to
input-selector and active the input pad. the pipe was as below.
|------------------------------| | | |
|---------------| udpsrc --> rtpbin---> pad-add --> | rtpvp8depay -->
vp8dec ------------> | | | | | |
|-----------dynamic bin--------| | |
|input-selector | -- x264enc --> flvmux --> rtmpsink
|------------------------------| | |
| | | | |
autovideosrc ----------------------->|---------------|
| | |-----static bin
--------------| since it run in centos , it while the is no stream
and no pipe and element was creat , my take almost zero memory .pipe creat
and destory with stream come and go , my application was memory consumed
increase .i have use valgrind to debug. but my application run so slow and
collapse without reason.so far my pipe work so good except memory leak.Any
Suggestions is welcome .
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/memory-leak-in-webrtc-stream-transcode-to-rtm-tp4679257.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160826/4b8b6bba/attachment.html>
More information about the gstreamer-devel
mailing list