Skip to content

Commit

Permalink
rtsp: add a Session header to keep iTunes happy
Browse files Browse the repository at this point in the history
With thanks to Quentin Smart (sm3rt) for the fix.
  • Loading branch information
abrasive committed Apr 3, 2013
1 parent 4daa5a2 commit 89611b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 89611b8

Please sign in to comment.