[Bug 676684] force client disconnection if rtsp-media is in error state

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 24 11:34:47 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=676684
  GStreamer | gst-rtsp-server | 0.10.8

--- Comment #3 from Aleix Conchillo Flaqué <aleix at oblong.com> 2012-05-24 18:34:43 UTC ---
Created an attachment (id=214890)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=214890)
server with client ignoring EOS

I attach a log file where the client ignores the EOS and thus not disconnects
from the server.

I have also found a workaround to my problem. A brief description:

- media is shared.

- media source is a shmsrc made available when "something happens".

- problem occurs when shmsink (in another app) is cancelled and
  the client does not disconnect. media not unprepared.

- if source is available again (something happened again), as media is shared 
  and client is connecting with same URL, the old media is used again. However 
  the old media still has the old shmsrc (with old socket-path).

The workaround is in factory gen_key. I create a different key if the source is
different, even if the same URL has been given.

However, the first client is still connected and the first media will not be
destroyed until that client disconnects. I don't know how to solve this except
with my first patch.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list