Similar as udpsrc but to pass RTP packets directly to gstreamer
bojan74
bojan.flander at gmail.com
Wed Jan 18 18:17:45 UTC 2017
My already working main application not using gstreamer receives RTP packets
and do some work.
Now I need to implement additional functionality where above incoming RTP
packets have to be saved also as mp4 file.
At least for "hello world" test I successfully implemented solution in the
following way:
1. Main application (beside current work) send incoming RTP packets also to
some port using udp socket
2. gstreamer application read those packets with udpsrc element
3. Then pass those packets further on pipeline and I get mp4 file
I have to emphasize that sending and receiving of RTP packets inside points
1 and 2 are local (not between different computers).
Does exist such gstreamer element that I could pass RTP packets directly to
it without need to use udpsrc and socket sending in my main application?
I mean in the way that my gstreamer application would be written as DLL used
by main application where I will just call something like
writeRTPData(handler, rtpData, rtpDataLen) that will pass RTP packet to
gstreamer element with same content as it is read currently with udpsrc.
So in this way I will not need to open two sockets (in my application and
udpsrc) for each incoming stream just to pass that RTP data from my
application to gstreamer part.
A few year ago I was working with mediastreamer2 and there I was able to
register/pass own transport type to rtprecv filter to implement something
similar as I was asking above.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Similar-as-udpsrc-but-to-pass-RTP-packets-directly-to-gstreamer-tp4681541.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list