client: Reply 400 if media cannot be constructed
authorJonas Holmberg <jonashg@axis.com>
Thu, 26 Sep 2013 09:20:05 +0000 (11:20 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 26 Sep 2013 12:32:43 +0000 (14:32 +0200)
commit0cd24e2257fa191c609757dc61a4bc3195408c71
tree677690c203e517b54b24bfd2ab8cef4dbec2ce2c
parent74b8da93969b4462ab1c534981fdbad0d7d5d304
client: Reply 400 if media cannot be constructed

Reply 400 Bad Request instead of 503 Service Unavailable if media
cannot be constructed in SETUP.

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