summaryrefslogtreecommitdiff
path: root/gst/fsrtpconference/fs-rtp-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/fsrtpconference/fs-rtp-stream.c')
-rw-r--r--gst/fsrtpconference/fs-rtp-stream.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index 294a0c8f..b2d59f2c 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -482,7 +482,7 @@ fs_rtp_stream_get_property (GObject *object,
break;
case PROP_REQUIRE_ENCRYPTION:
FS_RTP_SESSION_LOCK (session);
- g_value_set_boolean (value, self->priv->encrypted);
+ g_value_set_boolean (value, fs_rtp_stream_requires_crypto_locked (self));
FS_RTP_SESSION_UNLOCK (session);
break;
default:
@@ -1580,3 +1580,9 @@ fs_rtp_stream_get_srtp_caps_locked (FsRtpStream *self)
"srtcp-auth", G_TYPE_STRING, srtcp_auth,
NULL);
}
+
+gboolean
+fs_rtp_stream_requires_crypto_locked (FsRtpStream *self)
+{
+ return self->priv->encrypted;
+}