新聞中心
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
??[外部代碼]?
ff_rtsp_setup_input_streams創(chuàng)建rtsp交互連接
ff_rtsp_send_cmd優(yōu)先發(fā)送DESCRIBE指令,海康和大華rtsp指令交互的區(qū)別在于,大華在OPTIONS階段就會請求認證信息RTSP/1.0 401 Unauthorized
int ff_sdp_parse(AVFormatContext *s, const char *content) 解析SDK中的內(nèi)容,實際上這里就已經(jīng)完全知道碼流的數(shù)據(jù)格式以及所有的流信息,根本不需要探測碼流格式
sdp_parse_rtpmap函數(shù)分析出h364碼流格式,保存在AVFormatContext中的stream流中
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。
網(wǎng)站欄目:FFmpegrtsp交互代碼剖析-創(chuàng)新互聯(lián)
分享URL:http://fisionsoft.com.cn/article/ccsshc.html