rtsp: add a Session header to keep iTunes happy

With thanks to Quentin Smart (sm3rt) for the fix.
This commit is contained in:
James Laird
2013-04-03 20:27:34 +11:00
parent 4daa5a2ecc
commit 89611b826f
+2
View File
@@ -361,6 +361,8 @@ static void handle_setup(rtsp_conn_info *conn,
sprintf(resphdr + strlen(resphdr), ";server_port=%d", sport);
msg_add_header(resp, "Transport", resphdr);
msg_add_header(resp, "Session", "1");
resp->respcode = 200;
}