auth: add realm to make it more spec compliant
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 Jan 2011 17:40:48 +0000 (18:40 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 Jan 2011 17:40:48 +0000 (18:40 +0100)
gst/rtsp-server/rtsp-auth.c

index 84d5c54..e01315c 100644 (file)
@@ -147,7 +147,7 @@ default_setup_auth (GstRTSPAuth * auth, GstRTSPClient * client,
 
   /* we only have Basic for now */
   gst_rtsp_message_add_header (state->response, GST_RTSP_HDR_WWW_AUTHENTICATE,
-      "Basic ");
+      "Basic realm=\"GStreamer RTSP Server\"");
 
   return TRUE;
 }