mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
server: implement client REMOVE filter
This commit is contained in:
parent
ced406cc28
commit
ecde0051db
1 changed files with 6 additions and 1 deletions
|
@ -1404,7 +1404,12 @@ restart:
|
||||||
|
|
||||||
switch (res) {
|
switch (res) {
|
||||||
case GST_RTSP_FILTER_REMOVE:
|
case GST_RTSP_FILTER_REMOVE:
|
||||||
/* remove client, FIXME */
|
GST_RTSP_SERVER_UNLOCK (server);
|
||||||
|
|
||||||
|
gst_rtsp_client_close (client);
|
||||||
|
|
||||||
|
GST_RTSP_SERVER_LOCK (server);
|
||||||
|
changed |= (cookie != priv->clients_cookie);
|
||||||
break;
|
break;
|
||||||
case GST_RTSP_FILTER_REF:
|
case GST_RTSP_FILTER_REF:
|
||||||
result = g_list_prepend (result, g_object_ref (client));
|
result = g_list_prepend (result, g_object_ref (client));
|
||||||
|
|
Loading…
Reference in a new issue