summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-stream.h
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-04-02 12:36:16 +0200
committerWim Taymans <wtaymans@redhat.com>2014-04-03 17:26:12 +0200
commit377ca6ed0f4d70a0f20ab482ab3e1c82a2d9ac74 (patch)
tree798070270df282698173d487ab2376b4605487f3 /gst/rtsp-server/rtsp-stream.h
parentf8a6a5668d0f90bf786cc09b5a02f5e9d949b359 (diff)
stream: add method to set crypto info
Make a method to configure the crypto information of a stream. Set udpsrc in READY instead of PAUSED so that we can configure caps later.
Diffstat (limited to 'gst/rtsp-server/rtsp-stream.h')
-rw-r--r--gst/rtsp-server/rtsp-stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-stream.h b/gst/rtsp-server/rtsp-stream.h
index 0e465b2..ca8be0a 100644
--- a/gst/rtsp-server/rtsp-stream.h
+++ b/gst/rtsp-server/rtsp-stream.h
@@ -144,6 +144,9 @@ GSocket * gst_rtsp_stream_get_rtp_socket (GstRTSPStream *stream,
GSocket * gst_rtsp_stream_get_rtcp_socket (GstRTSPStream *stream,
GSocketFamily family);
+gboolean gst_rtsp_stream_update_crypto (GstRTSPStream * stream,
+ guint ssrc, GstCaps * crypto);
+
/**
* GstRTSPStreamTransportFilterFunc:
* @stream: a #GstRTSPStream object