135-1821-9792

FFmpegrtsp交互代码剖析

  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
  [外部代码] 

创新互联公司专注为客户提供全方位的互联网综合服务,包含不限于网站设计制作、成都网站设计、相城网络推广、小程序设计、相城网络营销、相城企业策划、相城品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联公司为所有大学生创业者提供相城建站搭建服务,24小时服务热线:13518219792,官方网址:www.cdcxhl.com

ff_rtsp_setup_input_streams创建rtsp交互连接

ff_rtsp_send_cmd优先发送DESCRIBE指令,海康和大华rtsp指令交互的区别在于,大华在OPTIONS阶段就会请求认证信息RTSP/1.0 401 Unauthorized

int ff_sdp_parse(AVFormatContext *s, const char *content) 解析SDK中的内容,实际上这里就已经完全知道码流的数据格式以及所有的流信息,根本不需要探测码流格式

sdp_parse_rtpmap函数分析出h364码流格式,保存在AVFormatContext中的stream流中


网页标题:FFmpegrtsp交互代码剖析
分享URL:http://kswsj.com/article/jspeic.html

其他资讯



Copyright © 2009-2022 www.kswsj.com 成都快上网科技有限公司 版权所有 蜀ICP备19037934号