client: Add drop-backlog property
authorGöran Jönsson <goranjn@axis.com>
Tue, 1 Apr 2014 11:04:21 +0000 (13:04 +0200)
committerWim Taymans <wtaymans@redhat.com>
Thu, 10 Apr 2014 14:08:06 +0000 (16:08 +0200)
commit11369d38ef6bc6a054b6da521cb9e2dbe6226373
tree280b88d63d9d883266fc26c3c36d9d65a35d7e48
parent0493a63a652bec39b2db56c2c0c4c4779091c6f5
client: Add drop-backlog property

When we have too many messages queued for a client (currently hardcoded
to 100) we overflow and drop the messages. Add a drop-backlog property
to control this behaviour. Setting this property to FALSE will retry
to send the messages to the client by waiting for more room in the
backlog.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725898
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-media.c