mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
webrtc: mark remote/local-description as readonly
This commit is contained in:
parent
19b3d744d8
commit
5ea7031bd0
1 changed files with 6 additions and 6 deletions
|
@ -4995,9 +4995,10 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
|
|||
g_object_class_install_property (gobject_class,
|
||||
PROP_LOCAL_DESCRIPTION,
|
||||
g_param_spec_boxed ("local-description", "Local Description",
|
||||
"The local SDP description to use for this connection",
|
||||
"The local SDP description in use for this connection. "
|
||||
"Favours a pending description over the current description",
|
||||
GST_TYPE_WEBRTC_SESSION_DESCRIPTION,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_CURRENT_LOCAL_DESCRIPTION,
|
||||
|
@ -5018,13 +5019,13 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
|
|||
GST_TYPE_WEBRTC_SESSION_DESCRIPTION,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_REMOTE_DESCRIPTION,
|
||||
g_param_spec_boxed ("remote-description", "Remote Description",
|
||||
"The remote SDP description to use for this connection",
|
||||
"The remote SDP description to use for this connection. "
|
||||
"Favours a pending description over the current description",
|
||||
GST_TYPE_WEBRTC_SESSION_DESCRIPTION,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_CURRENT_REMOTE_DESCRIPTION,
|
||||
|
@ -5047,7 +5048,6 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
|
|||
GST_TYPE_WEBRTC_SESSION_DESCRIPTION,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_STUN_SERVER,
|
||||
g_param_spec_string ("stun-server", "STUN Server",
|
||||
|
|
Loading…
Reference in a new issue