Add peername and list of rtsp sessions
This commit is contained in:
parent
41e0dea99f
commit
b2f7e04b8d
1 changed files with 3 additions and 1 deletions
4
http.h
4
http.h
|
@ -41,6 +41,8 @@ LIST_HEAD(rtsp_session_head, rtsp_session);
|
|||
typedef struct http_connection {
|
||||
int hc_fd;
|
||||
struct sockaddr_in *hc_peer;
|
||||
char *hc_peername;
|
||||
|
||||
char *hc_url;
|
||||
int hc_keep_alive;
|
||||
|
||||
|
@ -77,7 +79,7 @@ typedef struct http_connection {
|
|||
char *hc_username;
|
||||
char *hc_password;
|
||||
|
||||
// struct rtsp_session_head hc_rtsp_sessions;
|
||||
struct rtsp_session_head hc_rtsp_sessions;
|
||||
|
||||
int hc_authenticated; /* Used by RTSP, it seems VLC does not
|
||||
send authentication headers for each
|
||||
|
|
Loading…
Add table
Reference in a new issue