rtsp-session-pool: Avoid dollar sign ($) in session ids
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 18 Nov 2015 03:30:54 +0000 (22:30 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 15 Dec 2015 21:57:37 +0000 (16:57 -0500)
Live555 in VLC strips off dollar signs and then gets very confused,
we don't loose too much entropy by just skipping it.

gst/rtsp-server/rtsp-session-pool.c

index ea1ff18..60aa30c 100644 (file)
@@ -67,7 +67,7 @@ static const gchar session_id_charset[] =
   'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D',
   'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S',
   'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7',
-  '8', '9', '$', '-', '_', '.', '+'
+  '8', '9', '-', '_', '.', '+'  /* '$' Live555 in VLC strips off $ chars */
 };
 
 enum