📄 rtsp_response.h
字号:
#ifndef _RTSP_RESPONSE_H_#define _RTSP_RESPONSE_H_ #ifdef __cplusplusextern "C" {#endiftypedef struct rtsp_resp_t { int content_length; int cseq; int close_connection; char retcode[4]; char *caption; char *retresp; char *body; char *accept; char *accept_encoding; char *accept_language; char *allow_public; char *authorization; char *bandwidth; char *blocksize; char *cache_control; char *content_base; char *content_encoding; char *content_language; char *content_location; char *content_type; char *cookie; char *date; char *expires; char *from; char *if_modified_since; char *last_modified; char *location; char *proxy_authenticate; char *proxy_require; char *range; char *referer; char *require; char *retry_after; char *rtp_info; char *scale; char *server; char *session; char *speed; char *transport; char *unsupported; char *user_agent; char *via; char *www_authenticate;}rtsp_resp_t;void clear_response (rtsp_resp_t *resp);void free_response (rtsp_resp_t *resp);int simple_parse_sdp(char* sdp);int rtsp_recv_response (rtsp_client_t *client, rtsp_resp_t *response);int rtsp_recv_interleave_data(rtsp_client_t *client, char *buffer, int *length, int *interleave_id);#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -