ffplayd.exe!sdp_parse_line(AVFormatContext * s, SDPParseState * s1, int letter, const char * buf) 行 576 C
ffplayd.exe!ff_sdp_parse(AVFormatContext * s, const char * content) 行 721 C
ffplayd.exe!ff_rtsp_setup_input_streams(AVFormatContext * s, RTSPMessageHeader * reply) 行 622 C
ffplayd.exe!ff_rtsp_connect(AVFormatContext * s) 行 1897 C
> ffplayd.exe!rtsp_read_header(AVFormatContext * s) 行 726 C
ffplayd.exe!avformat_open_input(AVFormatContext * * ps, const char * filename, AVInputFormat * fmt, AVDictionary * * options) 行 631 C
ffplayd.exe!read_thread(void * arg) 行 2780 C
ffplayd.exe!SDL_RunThread(void * data) 行 283 C
ffplayd.exe!RunThread(void * data) 行 91 C
ffplayd.exe!RunThreadViaBeginThreadEx(void * data) 行 106 C
[外部代碼] ide
探測是不是rtsp static int rtsp_probe(const AVProbeData *p)函數
ff_rtsp_setup_input_streams建立rtsp交互鏈接spa
ff_rtsp_send_cmd優先發送DESCRIBE指令,海康和大華rtsp指令交互的區別在於,大華在OPTIONS階段就會請求認證信息RTSP/1.0 401 Unauthorizedorm
int ff_sdp_parse(AVFormatContext *s, const char *content) 解析SDK中的內容,實際上這裏就已經徹底知道碼流的數據格式以及全部的流信息,根本不須要探測碼流格式ci
sdp_parse_rtpmap函數分析出h264碼流格式,保存在AVFormatContext中的stream流中input