How to check from server side if RTP stream is coming in on UDP port?
Sebastian Dröge
sebastian at centricular.com
Mon Nov 14 09:54:08 UTC 2016
On Sun, 2016-11-13 at 16:59 -0800, skryabin wrote:
> Hello,
>
> I have an RTP stream UDP client/server setup, and the server side (receiving
> end of the stream) is a Cocoa Mac OS X application.
>
> I would like to check, using gstreamer, if the camera is currently sending
> data.
>
> Using:
>
> ret = gst_element_set_state(pipeline, GST_STATE_PLAYING);
>
> I always get GST_STATE_CHANGE_ASYNC, whether or not the client is sending
> the RTP stream or not.
>
> Is there any way to perform this kind of validation, using gstreamer?
It depends on your exact pipeline. But you could always do something
like adding a watchdog element somewhere in the pipeline, or a pad
probe, to check if data is flowing regularly there.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161114/fc7d1362/attachment.sig>
More information about the gstreamer-devel
mailing list